Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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.001394/0.001394, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00155/0.00155, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.38/1.38, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8004/0.8004, allocations: 134 MB / 446.4 MB, free: 9.961 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001945/0.001945, allocations: 66.23 kB / 0.6185 GB, free: 6.934 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1568, allocations: 85.91 MB / 0.7024 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.4021/0.559, allocations: 65.01 MB / 0.7659 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02118/0.5801, allocations: 17.54 MB / 0.783 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002796/0.5829, allocations: 96 kB / 0.7831 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001997/0.5849, allocations: 0.8265 MB / 0.7839 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007768/0.5927, allocations: 3.032 MB / 0.7868 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003937/0.5966, allocations: 1.693 MB / 0.7885 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005044/0.6017, allocations: 4.06 MB / 0.7925 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001822/0.6035, allocations: 1.137 MB / 0.7936 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004088/0.6076, allocations: 1.879 MB / 0.7954 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002524/0.6101, allocations: 1.166 MB / 0.7965 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004956/0.6106, allocations: 173.8 kB / 0.7967 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00327/0.6139, allocations: 1.157 MB / 0.7978 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004717/0.6144, allocations: 400.7 kB / 0.7982 GB, free: 436 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00108/0.6154, allocations: 0.7149 MB / 0.7989 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004697/0.6201, allocations: 3.119 MB / 0.802 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.6201, allocations: 0 / 0.802 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.372e-06/0.6201, allocations: 0 / 0.802 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.393e-05/0.6202, allocations: 0 / 0.802 GB, free: 13.85 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.003442/0.6236, allocations: 2.012 MB / 0.8039 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.6236, allocations: 8.062 kB / 0.8039 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001814/0.6238, allocations: 153.9 kB / 0.8041 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002125/0.626, allocations: 455.7 kB / 0.8045 GB, free: 12 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002791/0.6287, allocations: 1.511 MB / 0.806 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.752e-05/0.6288, allocations: 79.28 kB / 0.8061 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001363/0.6289, allocations: 103.4 kB / 0.8062 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002457/0.6314, allocations: 1.409 MB / 0.8076 GB, free: 9.715 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.795e-05/0.6314, allocations: 6.531 kB / 0.8076 GB, free: 9.711 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.952e-05/0.6315, allocations: 47.41 kB / 0.8076 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.277e-05/0.6316, allocations: 30.94 kB / 0.8076 GB, free: 9.672 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002479/0.634, allocations: 1.097 MB / 0.8087 GB, free: 9.121 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007623/0.6417, allocations: 5.62 MB / 0.8142 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00293/0.6446, allocations: 0.7716 MB / 0.8149 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005514/0.6451, allocations: 259.6 kB / 0.8152 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000495/0.6456, allocations: 170.2 kB / 0.8154 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/0.6457, allocations: 41.84 kB / 0.8154 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=48): time 2.855e-06/0.6457, allocations: 0 / 0.8154 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48): time 0.004457/0.6501, allocations: 1.262 MB / 0.8166 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.6502, allocations: 57.25 kB / 0.8167 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002172/0.6523, allocations: 1.561 MB / 0.8182 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.619e-05/0.6524, allocations: 37.7 kB / 0.8182 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006105/0.653, allocations: 0.678 MB / 0.8189 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000167/0.6532, allocations: 178.5 kB / 0.8191 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002808/0.6535, allocations: 178.5 kB / 0.8192 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.6536, allocations: 337.9 kB / 0.8196 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009488/0.6546, allocations: 365.8 kB / 0.8199 GB, free: 364 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001391/0.656, allocations: 0.9893 MB / 0.8209 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001787/0.6577, allocations: 0.8858 MB / 0.8217 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.6577, allocations: 4 kB / 0.8218 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002897/0.6606, allocations: 1.193 MB / 0.8229 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.6607, allocations: 8 kB / 0.8229 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.6607, allocations: 11.94 kB / 0.8229 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008483/0.6615, allocations: 220.6 kB / 0.8231 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000749/0.6623, allocations: 199.7 kB / 0.8233 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009227/0.6632, allocations: 0.7209 MB / 0.824 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/0.6647, allocations: 212.2 kB / 0.8242 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.39e-05/0.6648, allocations: 43.98 kB / 0.8243 GB, free: 11.53 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.000624/0.6654, allocations: 361.6 kB / 0.8246 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002478/0.6656, allocations: 155 kB / 0.8248 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002419/0.6681, allocations: 1.153 MB / 0.8259 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.701e-05/0.6681, allocations: 8 kB / 0.8259 GB, free: 9.859 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.6681, allocations: 4 kB / 0.8259 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.435e-06/0.6681, allocations: 3.984 kB / 0.8259 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005355/0.6734, allocations: 2.3 MB / 0.8282 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.6734, allocations: 3.938 kB / 0.8282 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003578/0.6738, allocations: 87.88 kB / 0.8283 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007291/0.6745, allocations: 208.8 kB / 0.8285 GB, free: 7.18 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.44e-05/0.6746, allocations: 19.98 kB / 0.8285 GB, free: 7.16 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001303/0.6759, allocations: 0.7709 MB / 0.8292 GB, free: 6.363 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.6759, allocations: 0 / 0.8292 GB, free: 6.363 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003328/0.6792, allocations: 1.226 MB / 0.8304 GB, free: 5.102 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006627/0.6799, allocations: 282.7 kB / 0.8307 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001675/0.68, allocations: 12 kB / 0.8307 GB, free: 4.812 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008329/0.6809, allocations: 71.91 kB / 0.8308 GB, free: 4.742 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.013e-05/0.681, allocations: 44.36 kB / 0.8308 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.067e-05/0.681, allocations: 31.98 kB / 0.8308 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001706/0.6827, allocations: 1.078 MB / 0.8319 GB, free: 3.594 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.6827, allocations: 0 / 0.8319 GB, free: 3.594 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001297/0.684, allocations: 459 kB / 0.8323 GB, free: 3.145 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004325/0.6884, allocations: 2.115 MB / 0.8344 GB, free: 0.9844 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002105/0.6905, allocations: 0.8325 MB / 0.8352 GB, free: 160 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.6905, allocations: 0 / 0.8352 GB, free: 160 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001274/0.6917, allocations: 423.4 kB / 0.8356 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003006/0.6947, allocations: 0.7512 MB / 0.8363 GB, free: 15 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01816/0.7129, allocations: 10.5 MB / 0.8466 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006267/0.7135, allocations: 0.5874 MB / 0.8472 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001114/0.7146, allocations: 264.2 kB / 0.8474 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008172/0.7155, allocations: 0.5461 MB / 0.848 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of SimCode: time 8.22e-07/0.7155, allocations: 3.938 kB / 0.848 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1221/0.8375, allocations: 46.9 MB / 0.8938 GB, free: 4.445 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.29/14.13, allocations: 17.62 kB / 0.8938 GB, free: 4.434 MB / 0.6544 GB " [Timeout remaining time 646] (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.620711851865053] Failed to read output from testmodel.py, exit status != 0: 14.26382152363658 14.280048406 13.656830232 Calling exit ...