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.001784/0.001784, allocations: 108.9 kB / 16.46 MB, free: 6.453 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.002067/0.002067, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.385/1.385, allocations: 230.6 MB / 252.8 MB, free: 8.973 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.7942/0.7942, allocations: 133.9 MB / 442.8 MB, free: 11.7 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.001845/0.001845, allocations: 68.23 kB / 0.6134 GB, free: 8.777 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1726, allocations: 85.85 MB / 0.6973 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.424/0.5966, allocations: 71.24 MB / 0.7668 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02342/0.62, allocations: 19.01 MB / 0.7854 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003315/0.6233, allocations: 94.31 kB / 0.7855 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002166/0.6255, allocations: 0.8469 MB / 0.7863 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007885/0.6334, allocations: 3.008 MB / 0.7892 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00421/0.6376, allocations: 1.662 MB / 0.7909 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005431/0.643, allocations: 4.041 MB / 0.7948 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001636/0.6447, allocations: 1.179 MB / 0.796 GB, free: 460 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004182/0.6489, allocations: 1.828 MB / 0.7977 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00213/0.651, allocations: 1.243 MB / 0.799 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002198/0.6512, allocations: 176.2 kB / 0.7991 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003531/0.6547, allocations: 1.471 MB / 0.8006 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004257/0.6552, allocations: 398.9 kB / 0.8009 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001165/0.6563, allocations: 0.917 MB / 0.8018 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005029/0.6614, allocations: 3.163 MB / 0.8049 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.6614, allocations: 0 / 0.8049 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.164e-06/0.6614, allocations: 3.938 kB / 0.8049 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.663e-05/0.6614, allocations: 4 kB / 0.8049 GB, free: 10.79 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.003717/0.6651, allocations: 2.088 MB / 0.807 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.6652, allocations: 9.828 kB / 0.807 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001881/0.6653, allocations: 154.8 kB / 0.8071 GB, free: 9.051 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00221/0.6676, allocations: 457 kB / 0.8076 GB, free: 8.836 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002654/0.6702, allocations: 1.565 MB / 0.8091 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.136e-05/0.6703, allocations: 82.53 kB / 0.8092 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/0.6704, allocations: 105.7 kB / 0.8093 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002489/0.6729, allocations: 1.318 MB / 0.8106 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.595e-05/0.6729, allocations: 3.938 kB / 0.8106 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/0.673, allocations: 44.41 kB / 0.8106 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.248e-05/0.6731, allocations: 36.17 kB / 0.8106 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002597/0.6757, allocations: 1.087 MB / 0.8117 GB, free: 5.992 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.008806/0.6845, allocations: 7.513 MB / 0.819 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003207/0.6877, allocations: 0.7747 MB / 0.8198 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006097/0.6883, allocations: 265.3 kB / 0.82 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001473/0.6898, allocations: 1.73 MB / 0.8217 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.687e-05/0.6898, allocations: 39 kB / 0.8218 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=48): time 2.705e-06/0.6898, allocations: 0 / 0.8218 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of matching and sorting (n=48): time 0.005017/0.6948, allocations: 1.335 MB / 0.8231 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/0.6949, allocations: 55.84 kB / 0.8231 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002411/0.6973, allocations: 1.542 MB / 0.8246 GB, free: 9.359 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.717e-05/0.6973, allocations: 37.7 kB / 0.8247 GB, free: 9.316 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006282/0.698, allocations: 0.6935 MB / 0.8253 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001746/0.6981, allocations: 174.5 kB / 0.8255 GB, free: 8.445 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003005/0.6984, allocations: 174.5 kB / 0.8257 GB, free: 8.27 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.6986, allocations: 337.9 kB / 0.826 GB, free: 7.934 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009998/0.6996, allocations: 365.7 kB / 0.8264 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001277/0.7009, allocations: 0.6709 MB / 0.827 GB, free: 6.773 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001858/0.7027, allocations: 0.8828 MB / 0.8279 GB, free: 5.781 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.7027, allocations: 4 kB / 0.8279 GB, free: 5.777 MB / 0.5919 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003004/0.7057, allocations: 1.194 MB / 0.829 GB, free: 4.574 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.7058, allocations: 11.94 kB / 0.8291 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.7058, allocations: 8 kB / 0.8291 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000887/0.7067, allocations: 216.7 kB / 0.8293 GB, free: 4.34 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007655/0.7074, allocations: 199.7 kB / 0.8295 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009256/0.7084, allocations: 0.7201 MB / 0.8302 GB, free: 3.398 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001547/0.7099, allocations: 215.1 kB / 0.8304 GB, free: 3.188 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.53e-05/0.71, allocations: 43.98 kB / 0.8304 GB, free: 3.145 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.0006347/0.7106, allocations: 357.6 kB / 0.8307 GB, free: 2.785 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002484/0.7109, allocations: 158.9 kB / 0.8309 GB, free: 2.629 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002492/0.7134, allocations: 1.134 MB / 0.832 GB, free: 1.5 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.178e-05/0.7134, allocations: 11.98 kB / 0.832 GB, free: 1.488 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.7134, allocations: 0 / 0.832 GB, free: 1.488 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.7134, allocations: 11.97 kB / 0.832 GB, free: 1.477 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005342/0.7188, allocations: 2.499 MB / 0.8345 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.7188, allocations: 4 kB / 0.8345 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003652/0.7191, allocations: 83.88 kB / 0.8346 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007624/0.7199, allocations: 216.8 kB / 0.8348 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.377e-05/0.7199, allocations: 15.98 kB / 0.8348 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001362/0.7213, allocations: 0.7787 MB / 0.8355 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.7213, allocations: 96 / 0.8355 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003471/0.7248, allocations: 1.215 MB / 0.8367 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006142/0.7254, allocations: 359.7 kB / 0.8371 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000163/0.7255, allocations: 12 kB / 0.8371 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008642/0.7264, allocations: 75.91 kB / 0.8372 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.541e-05/0.7265, allocations: 40.45 kB / 0.8372 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.43e-05/0.7266, allocations: 31.97 kB / 0.8372 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001789/0.7284, allocations: 1.078 MB / 0.8383 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7284, allocations: 3.938 kB / 0.8383 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001393/0.7298, allocations: 455.1 kB / 0.8387 GB, free: 10.46 MB / 0.6075 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.004556/0.7343, allocations: 2.107 MB / 0.8408 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00223/0.7365, allocations: 0.8329 MB / 0.8416 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.7365, allocations: 0 / 0.8416 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001306/0.7378, allocations: 419.6 kB / 0.842 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003048/0.7409, allocations: 0.7418 MB / 0.8427 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01803/0.7589, allocations: 10.5 MB / 0.853 GB, free: 11.49 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008641/0.7598, allocations: 1.172 MB / 0.8541 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001109/0.7609, allocations: 264.2 kB / 0.8544 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007779/0.7617, allocations: 0.5461 MB / 0.8549 GB, free: 9.484 MB / 0.6231 GB Notification: Performance of SimCode: time 1.403e-06/0.7617, allocations: 0 / 0.8549 GB, free: 9.484 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08684/0.8485, allocations: 43.79 MB / 0.8977 GB, free: 14.07 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.99/14.83, allocations: 8 kB / 0.8977 GB, free: 14.07 MB / 0.67 GB " [Timeout remaining time 645] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.51418143400224] Failed to read output from testmodel.py, exit status != 0: 14.951371537012164 14.970651178 14.305546212 Calling exit ...