Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 119.2 kB / 19.7 MB, free: 2.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001832/0.001832, allocations: 219 kB / 23 MB, free: 5.004 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.485/1.485, allocations: 230.6 MB / 256.8 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9968/0.9968, allocations: 150 MB / 463.2 MB, free: 10.49 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002373/0.002373, allocations: 71.2 kB / 0.6413 GB, free: 10.38 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.215, allocations: 89.18 MB / 0.7283 GB, free: 1.273 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Validation.LosslessPipe): time 0.6318/0.8468, allocations: 177.1 MB / 0.9013 GB, free: 6.297 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.003795/0.8506, allocations: 1.864 MB / 0.9031 GB, free: 4.43 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005242/0.8512, allocations: 19.81 kB / 0.9031 GB, free: 4.41 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0009571/0.8521, allocations: 222.5 kB / 0.9033 GB, free: 4.191 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002488/0.8546, allocations: 0.7934 MB / 0.9041 GB, free: 3.395 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00261/0.8572, allocations: 0.8816 MB / 0.9049 GB, free: 2.512 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001397/0.8586, allocations: 0.8728 MB / 0.9058 GB, free: 1.637 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000573/0.8592, allocations: 231.8 kB / 0.906 GB, free: 1.406 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001573/0.8608, allocations: 0.5839 MB / 0.9066 GB, free: 0.8203 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006098/0.8614, allocations: 274.9 kB / 0.9069 GB, free: 0.5508 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 8.894e-05/0.8615, allocations: 28 kB / 0.9069 GB, free: 0.5234 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002558/0.864, allocations: 1.196 MB / 0.908 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002764/0.8643, allocations: 131.5 kB / 0.9082 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0004408/0.8647, allocations: 195 kB / 0.9084 GB, free: 15 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002023/0.8668, allocations: 0.9229 MB / 0.9093 GB, free: 14.08 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.8668, allocations: 4 kB / 0.9093 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8668, allocations: 0 / 0.9093 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.713e-05/0.8668, allocations: 0 / 0.9093 GB, free: 14.07 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.002016/0.8688, allocations: 0.7107 MB / 0.91 GB, free: 13.33 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.8688, allocations: 8.031 kB / 0.91 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001043/0.8689, allocations: 76.97 kB / 0.91 GB, free: 13.24 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001089/0.87, allocations: 163.5 kB / 0.9102 GB, free: 13.08 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007556/0.8708, allocations: 303.6 kB / 0.9105 GB, free: 12.76 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.127e-05/0.8708, allocations: 24.59 kB / 0.9105 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.169e-05/0.8709, allocations: 27.98 kB / 0.9105 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007624/0.8716, allocations: 395.5 kB / 0.9109 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.8717, allocations: 3.938 kB / 0.9109 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.419e-05/0.8717, allocations: 15.94 kB / 0.9109 GB, free: 12.28 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.682e-05/0.8717, allocations: 16.64 kB / 0.9109 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007522/0.8725, allocations: 342.3 kB / 0.9113 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00236/0.8748, allocations: 1.739 MB / 0.913 GB, free: 10.03 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005168/0.8753, allocations: 225 kB / 0.9132 GB, free: 9.805 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002625/0.8756, allocations: 130.3 kB / 0.9133 GB, free: 9.676 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004731/0.8761, allocations: 75.89 kB / 0.9134 GB, free: 9.602 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.904e-05/0.8761, allocations: 42.56 kB / 0.9134 GB, free: 9.551 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=20): time 1.803e-06/0.8761, allocations: 0 / 0.9134 GB, free: 9.551 MB / 0.6856 GB Notification: Performance of matching and sorting (n=20): time 0.00103/0.8771, allocations: 387.9 kB / 0.9138 GB, free: 9.168 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.8772, allocations: 51.41 kB / 0.9138 GB, free: 9.105 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004565/0.8776, allocations: 357.7 kB / 0.9142 GB, free: 8.746 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.418e-05/0.8777, allocations: 37.7 kB / 0.9142 GB, free: 8.703 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001594/0.8778, allocations: 192.4 kB / 0.9144 GB, free: 8.512 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 7.053e-05/0.8779, allocations: 75.33 kB / 0.9145 GB, free: 8.438 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.177e-05/0.878, allocations: 45.7 kB / 0.9145 GB, free: 8.387 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.8782, allocations: 346.7 kB / 0.9148 GB, free: 8.039 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002268/0.8784, allocations: 91.92 kB / 0.9149 GB, free: 7.949 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002846/0.8787, allocations: 157.9 kB / 0.9151 GB, free: 7.773 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004931/0.8792, allocations: 257.7 kB / 0.9153 GB, free: 7.5 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.8792, allocations: 0 / 0.9153 GB, free: 7.5 MB / 0.6856 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006313/0.8798, allocations: 307 kB / 0.9156 GB, free: 7.195 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.8798, allocations: 8.188 kB / 0.9156 GB, free: 7.188 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.8798, allocations: 4 kB / 0.9156 GB, free: 7.184 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.8798, allocations: 4 kB / 0.9156 GB, free: 7.18 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002661/0.8801, allocations: 47.91 kB / 0.9157 GB, free: 7.133 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.769e-06/0.8801, allocations: 4 kB / 0.9157 GB, free: 7.129 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002693/0.8804, allocations: 35.77 kB / 0.9157 GB, free: 7.098 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.552e-05/0.8804, allocations: 15.98 kB / 0.9157 GB, free: 7.082 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001764/0.8806, allocations: 161.6 kB / 0.9159 GB, free: 6.914 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.132e-05/0.8807, allocations: 39.77 kB / 0.9159 GB, free: 6.875 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006603/0.8813, allocations: 304.8 kB / 0.9162 GB, free: 6.566 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.8813, allocations: 0 / 0.9162 GB, free: 6.566 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.8813, allocations: 0 / 0.9162 GB, free: 6.566 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.8813, allocations: 0 / 0.9162 GB, free: 6.566 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001506/0.8829, allocations: 0.8772 MB / 0.9171 GB, free: 5.605 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.8829, allocations: 4 kB / 0.9171 GB, free: 5.602 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002219/0.8831, allocations: 43.91 kB / 0.9171 GB, free: 5.559 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.8831, allocations: 0 / 0.9171 GB, free: 5.559 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/0.8831, allocations: 12 kB / 0.9171 GB, free: 5.547 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.8831, allocations: 4 kB / 0.9171 GB, free: 5.543 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.8831, allocations: 3.938 kB / 0.9171 GB, free: 5.539 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006858/0.8838, allocations: 453.6 kB / 0.9176 GB, free: 5.047 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001459/0.8839, allocations: 59.73 kB / 0.9176 GB, free: 4.988 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.189e-05/0.884, allocations: 7.984 kB / 0.9176 GB, free: 4.98 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002578/0.8843, allocations: 12 kB / 0.9177 GB, free: 4.969 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.092e-05/0.8843, allocations: 27.91 kB / 0.9177 GB, free: 4.941 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/0.8844, allocations: 8 kB / 0.9177 GB, free: 4.934 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0003175/0.8847, allocations: 259.1 kB / 0.9179 GB, free: 4.688 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8847, allocations: 4 kB / 0.9179 GB, free: 4.684 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0004723/0.8851, allocations: 99.83 kB / 0.918 GB, free: 4.586 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001188/0.8863, allocations: 1.045 MB / 0.9191 GB, free: 3.48 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0005955/0.8869, allocations: 237.9 kB / 0.9193 GB, free: 3.25 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.8869, allocations: 0 / 0.9193 GB, free: 3.25 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002766/0.8872, allocations: 119.7 kB / 0.9194 GB, free: 3.133 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/0.8884, allocations: 223.1 kB / 0.9196 GB, free: 2.922 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005013/0.8934, allocations: 3.292 MB / 0.9228 GB, free: 15.45 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005706/0.894, allocations: 0.8035 MB / 0.9236 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0003432/0.8943, allocations: 83.23 kB / 0.9237 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002115/0.8945, allocations: 115.4 kB / 0.9238 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of SimCode: time 8.51e-07/0.8945, allocations: 0 / 0.9238 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0485/0.943, allocations: 11.08 MB / 0.9346 GB, free: 3.645 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.88, allocations: 2.578 kB / 0.9346 GB, free: 3.645 MB / 0.7012 GB " [Timeout remaining time 647] (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.782149015925825] Failed to read output from testmodel.py, exit status != 0: 12.99277038499713 13.018737252 12.147000385 Calling exit ...