Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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.001102/0.001102, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009182/0.0009182, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8594/0.8594, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7314/0.7314, allocations: 154.6 MB / 413.8 MB, free: 0.7812 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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.CarnotVerifyEtaCarnot,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.468e-05/2.681e-05, allocations: 5.266 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.3278/0.3279, allocations: 120.8 MB / 0.736 GB, free: 37.18 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02098/0.3488, allocations: 21.66 MB / 0.7572 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003935/0.3528, allocations: 173.2 kB / 0.7574 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003287/0.3561, allocations: 1.499 MB / 0.7588 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.00922/0.3653, allocations: 4.473 MB / 0.7632 GB, free: 18.6 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004636/0.3699, allocations: 2.366 MB / 0.7655 GB, free: 17.29 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.007622/0.3775, allocations: 6.693 MB / 0.772 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00272/0.3803, allocations: 1.83 MB / 0.7738 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006702/0.387, allocations: 4.078 MB / 0.7778 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002573/0.3895, allocations: 1.604 MB / 0.7794 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0003247/0.3899, allocations: 246.8 kB / 0.7796 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003132/0.393, allocations: 1.605 MB / 0.7812 GB, free: 9.859 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003578/0.3933, allocations: 0.6305 MB / 0.7818 GB, free: 9.426 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001011/0.3944, allocations: 0.97 MB / 0.7827 GB, free: 9.004 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.005186/0.3995, allocations: 4.418 MB / 0.787 GB, free: 7.363 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3995, allocations: 6.812 kB / 0.7871 GB, free: 7.359 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.923e-06/0.3995, allocations: 0 / 0.7871 GB, free: 7.359 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.154e-05/0.3996, allocations: 0 / 0.7871 GB, free: 7.359 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.003962/0.4036, allocations: 3.176 MB / 0.7902 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/0.4036, allocations: 9.875 kB / 0.7902 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001619/0.4038, allocations: 220.4 kB / 0.7904 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002127/0.4059, allocations: 0.8578 MB / 0.7912 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002991/0.4089, allocations: 2.283 MB / 0.7934 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.787e-05/0.409, allocations: 127 kB / 0.7936 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001432/0.4091, allocations: 164.7 kB / 0.7937 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002339/0.4115, allocations: 1.999 MB / 0.7957 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/0.4115, allocations: 2.688 kB / 0.7957 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/0.4116, allocations: 66.44 kB / 0.7957 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.43e-05/0.4116, allocations: 37.94 kB / 0.7958 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002448/0.4141, allocations: 1.797 MB / 0.7975 GB, free: 380 kB / 0.6355 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.00771/0.4218, allocations: 6.492 MB / 0.8039 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002285/0.424, allocations: 1.141 MB / 0.805 GB, free: 10.9 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006253/0.4247, allocations: 440.2 kB / 0.8054 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003422/0.425, allocations: 158 kB / 0.8056 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/0.4251, allocations: 46.27 kB / 0.8056 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=76): time 3.136e-06/0.4251, allocations: 4 kB / 0.8056 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of matching and sorting (n=76): time 0.004993/0.43, allocations: 2.194 MB / 0.8077 GB, free: 8.387 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/0.4301, allocations: 89.05 kB / 0.8078 GB, free: 8.281 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002772/0.4329, allocations: 2.548 MB / 0.8103 GB, free: 5.715 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001246/0.433, allocations: 45.7 kB / 0.8104 GB, free: 5.664 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006442/0.4336, allocations: 1.051 MB / 0.8114 GB, free: 4.605 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002355/0.4339, allocations: 285.5 kB / 0.8117 GB, free: 4.324 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002977/0.4342, allocations: 246.8 kB / 0.8119 GB, free: 4.078 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.859e-05/0.4343, allocations: 349.9 kB / 0.8122 GB, free: 3.73 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009487/0.4352, allocations: 0.5686 MB / 0.8128 GB, free: 3.16 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001361/0.4366, allocations: 1.615 MB / 0.8144 GB, free: 1.234 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001916/0.4385, allocations: 1.245 MB / 0.8156 GB, free: 15.89 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.4385, allocations: 0 / 0.8156 GB, free: 15.89 MB / 0.6667 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003646/0.4421, allocations: 2.031 MB / 0.8176 GB, free: 13.84 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.4422, allocations: 8 kB / 0.8176 GB, free: 13.83 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.4422, allocations: 11.94 kB / 0.8176 GB, free: 13.82 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001118/0.4433, allocations: 493.7 kB / 0.8181 GB, free: 13.33 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006108/0.4439, allocations: 279.6 kB / 0.8183 GB, free: 13.06 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00127/0.4452, allocations: 1.53 MB / 0.8198 GB, free: 11.48 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001707/0.4469, allocations: 365.6 kB / 0.8202 GB, free: 11.12 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/0.447, allocations: 59.97 kB / 0.8202 GB, free: 11.06 MB / 0.6667 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 (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0007168/0.4477, allocations: 457.5 kB / 0.8207 GB, free: 10.61 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003882/0.4481, allocations: 258.4 kB / 0.8209 GB, free: 10.35 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002425/0.4505, allocations: 1.513 MB / 0.8224 GB, free: 8.84 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.732e-05/0.4505, allocations: 15.94 kB / 0.8224 GB, free: 8.824 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.4505, allocations: 0 / 0.8224 GB, free: 8.824 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.4506, allocations: 3.984 kB / 0.8224 GB, free: 8.82 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004536/0.4551, allocations: 3.312 MB / 0.8256 GB, free: 5.406 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/0.4551, allocations: 4.875 kB / 0.8256 GB, free: 5.402 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003036/0.4554, allocations: 127.8 kB / 0.8258 GB, free: 5.277 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009516/0.4564, allocations: 488.1 kB / 0.8262 GB, free: 4.797 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.338e-05/0.4564, allocations: 27.97 kB / 0.8262 GB, free: 4.77 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0015/0.4579, allocations: 1.585 MB / 0.8278 GB, free: 3.133 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.4579, allocations: 5 kB / 0.8278 GB, free: 3.129 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003706/0.4616, allocations: 1.956 MB / 0.8297 GB, free: 1.117 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008702/0.4625, allocations: 422.4 kB / 0.8301 GB, free: 0.7031 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002135/0.4627, allocations: 23.98 kB / 0.8301 GB, free: 0.6797 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008357/0.4635, allocations: 127.9 kB / 0.8303 GB, free: 0.5547 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.382e-05/0.4636, allocations: 55.83 kB / 0.8303 GB, free: 0.5 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.948e-05/0.4637, allocations: 47.97 kB / 0.8304 GB, free: 464 kB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.00198/0.4656, allocations: 1.778 MB / 0.8321 GB, free: 14.67 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8e-08/0.4656, allocations: 0 / 0.8321 GB, free: 14.67 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001431/0.4671, allocations: 0.698 MB / 0.8328 GB, free: 13.97 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (62): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,16), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004416/0.4715, allocations: 3.021 MB / 0.8357 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002428/0.4739, allocations: 1.3 MB / 0.837 GB, free: 9.594 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.4739, allocations: 0 / 0.837 GB, free: 9.594 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001182/0.4751, allocations: 0.6516 MB / 0.8376 GB, free: 8.941 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00392/0.479, allocations: 1.318 MB / 0.8389 GB, free: 7.688 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02132/0.5003, allocations: 16.47 MB / 0.855 GB, free: 6.742 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006228/0.501, allocations: 0.9255 MB / 0.8559 GB, free: 5.777 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00146/0.5024, allocations: 441.3 kB / 0.8563 GB, free: 5.355 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001116/0.5035, allocations: 0.9064 MB / 0.8572 GB, free: 4.449 MB / 0.698 GB Notification: Performance of SimCode: time 1.813e-06/0.5035, allocations: 0 / 0.8572 GB, free: 4.449 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07779/0.5813, allocations: 70.69 MB / 0.9262 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.894/10.48, allocations: 7.078 kB / 0.9263 GB, free: 14.95 MB / 0.7761 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.216509852558374] Failed to read output from testmodel.py, exit status != 0: 10.597980041988194 10.605252746 10.203952763 Calling exit ...