Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_TEva",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_TEva",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001065, allocations: 98.8 kB / 16.26 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 190.5 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.243/1.243, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7167/0.7167, allocations: 122.9 MB / 413.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 59.91 kB / 0.4912 GB, free: 7.371 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.3021, allocations: 77.92 MB / 0.5673 GB, free: 32.86 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Examples.Carnot_TEva): time 0.04573/0.3478, allocations: 61.14 MB / 0.627 GB, free: 13.54 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01512/0.363, allocations: 11.99 MB / 0.6387 GB, free: 1.508 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002402/0.3654, allocations: 59.62 kB / 0.6387 GB, free: 1.449 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002046/0.3675, allocations: 0.6791 MB / 0.6394 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004909/0.3725, allocations: 1.963 MB / 0.6413 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002699/0.3752, allocations: 1.199 MB / 0.6425 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003769/0.3789, allocations: 3.076 MB / 0.6455 GB, free: 10.52 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001307/0.3803, allocations: 1.09 MB / 0.6466 GB, free: 9.398 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002589/0.3829, allocations: 1.317 MB / 0.6479 GB, free: 8.078 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001217/0.3841, allocations: 0.9022 MB / 0.6487 GB, free: 7.172 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001757/0.3843, allocations: 120 kB / 0.6489 GB, free: 7.055 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002842/0.3871, allocations: 1.443 MB / 0.6503 GB, free: 5.609 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002847/0.3874, allocations: 290.9 kB / 0.6505 GB, free: 5.324 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007201/0.3882, allocations: 0.688 MB / 0.6512 GB, free: 4.633 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003154/0.3913, allocations: 2.275 MB / 0.6534 GB, free: 2.352 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.3913, allocations: 0 / 0.6534 GB, free: 2.352 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.3914, allocations: 3.938 kB / 0.6534 GB, free: 2.348 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.346e-05/0.3914, allocations: 3.938 kB / 0.6534 GB, free: 2.344 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002605/0.394, allocations: 1.715 MB / 0.6551 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.394, allocations: 8.031 kB / 0.6551 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001308/0.3942, allocations: 130.9 kB / 0.6552 GB, free: 432 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002061/0.3962, allocations: 406.8 kB / 0.6556 GB, free: 24 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001742/0.398, allocations: 1.097 MB / 0.6567 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003448/0.3983, allocations: 121.9 kB / 0.6568 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.3985, allocations: 80 kB / 0.6569 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001797/0.4003, allocations: 1.001 MB / 0.6579 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.4003, allocations: 0 / 0.6579 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.331e-05/0.4004, allocations: 36 kB / 0.6579 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/0.4004, allocations: 23.94 kB / 0.6579 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002134/0.4025, allocations: 0.8586 MB / 0.6588 GB, free: 12.69 MB / 0.4981 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.005657/0.4082, allocations: 5.264 MB / 0.6639 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0033/0.4115, allocations: 0.8076 MB / 0.6647 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006953/0.4122, allocations: 296.7 kB / 0.665 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005751/0.4128, allocations: 0.9025 MB / 0.6659 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.4129, allocations: 42.5 kB / 0.6659 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=43): time 3.477e-06/0.4129, allocations: 3.984 kB / 0.6659 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.007251/0.4201, allocations: 1.758 MB / 0.6676 GB, free: 3 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.4202, allocations: 55.41 kB / 0.6677 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001429/0.4216, allocations: 1.08 MB / 0.6687 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.321e-05/0.4217, allocations: 37.7 kB / 0.6688 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003907/0.4221, allocations: 0.5312 MB / 0.6693 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.4222, allocations: 149.8 kB / 0.6694 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002142/0.4224, allocations: 142.1 kB / 0.6696 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.564e-05/0.4225, allocations: 329.9 kB / 0.6699 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000863/0.4234, allocations: 315.2 kB / 0.6702 GB, free: 336 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001043/0.4244, allocations: 0.529 MB / 0.6707 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00163/0.4261, allocations: 0.7211 MB / 0.6714 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.4261, allocations: 0 / 0.6714 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002646/0.4287, allocations: 1.024 MB / 0.6724 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.4288, allocations: 15.92 kB / 0.6724 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.4288, allocations: 4 kB / 0.6724 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001236/0.43, allocations: 328.6 kB / 0.6727 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005297/0.4306, allocations: 127.8 kB / 0.6729 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001412/0.432, allocations: 0.917 MB / 0.6738 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/0.4332, allocations: 147.3 kB / 0.6739 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-05/0.4333, allocations: 28 kB / 0.6739 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001155/0.4344, allocations: 0.5168 MB / 0.6744 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001031/0.4355, allocations: 0.5251 MB / 0.6749 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001718/0.4372, allocations: 0.7179 MB / 0.6756 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.283e-06/0.4372, allocations: 4 kB / 0.6756 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002832/0.44, allocations: 1.016 MB / 0.6766 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.4401, allocations: 10.19 kB / 0.6766 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.719e-06/0.4401, allocations: 4 kB / 0.6766 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001154/0.4413, allocations: 312.6 kB / 0.6769 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005314/0.4418, allocations: 131.8 kB / 0.6771 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001432/0.4432, allocations: 0.902 MB / 0.678 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001273/0.4445, allocations: 145.4 kB / 0.6781 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-05/0.4446, allocations: 31.98 kB / 0.6781 GB, free: 7.777 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 56 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002205/0.4448, allocations: 216.8 kB / 0.6783 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000264/0.4451, allocations: 110.7 kB / 0.6784 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002392/0.4475, allocations: 0.9379 MB / 0.6793 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/0.4475, allocations: 7.984 kB / 0.6794 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.4475, allocations: 0 / 0.6794 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.4476, allocations: 0 / 0.6794 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005099/0.4527, allocations: 2.161 MB / 0.6815 GB, free: 4.246 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.286e-06/0.4527, allocations: 4 kB / 0.6815 GB, free: 4.242 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002788/0.453, allocations: 64.17 kB / 0.6815 GB, free: 4.18 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009799/0.454, allocations: 308.5 kB / 0.6818 GB, free: 3.875 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.629e-05/0.454, allocations: 12 kB / 0.6818 GB, free: 3.863 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001405/0.4554, allocations: 0.9463 MB / 0.6828 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.4554, allocations: 3.938 kB / 0.6828 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003556/0.459, allocations: 1.164 MB / 0.6839 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003925/0.4594, allocations: 267.5 kB / 0.6842 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001724/0.4596, allocations: 12 kB / 0.6842 GB, free: 1.383 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008419/0.4604, allocations: 71.91 kB / 0.6842 GB, free: 1.312 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.844e-05/0.4605, allocations: 39.89 kB / 0.6843 GB, free: 1.273 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.677e-05/0.4606, allocations: 23.92 kB / 0.6843 GB, free: 1.25 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001084/0.4617, allocations: 0.7551 MB / 0.685 GB, free: 500 kB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4617, allocations: 0 / 0.685 GB, free: 500 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001438/0.4631, allocations: 0.5616 MB / 0.6856 GB, free: 15.92 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004394/0.4675, allocations: 1.977 MB / 0.6875 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003181/0.4707, allocations: 1.152 MB / 0.6886 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.4707, allocations: 4 kB / 0.6886 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00087/0.4716, allocations: 342.5 kB / 0.689 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002151/0.4738, allocations: 0.5068 MB / 0.6895 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01624/0.49, allocations: 8.91 MB / 0.6982 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005639/0.4906, allocations: 1.065 MB / 0.6992 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0008626/0.4915, allocations: 226.1 kB / 0.6994 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005105/0.492, allocations: 415.3 kB / 0.6998 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of SimCode: time 6.81e-07/0.492, allocations: 0 / 0.6998 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05881/0.5508, allocations: 33.28 MB / 0.7323 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.47, allocations: 5.875 kB / 0.7323 GB, free: 15.96 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_TEva_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_TEva.fmu > IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)