Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.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.HeatPumps.Validation.ReciprocatingWaterToWater_Static,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",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.0008641/0.0008644, allocations: 96.27 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009645/0.0009645, allocations: 178.2 kB / 16.57 MB, free: 6.855 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.326/1.326, allocations: 223.2 MB / 240.5 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6811/0.6811, allocations: 113.7 MB / 405.3 MB, free: 4.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003243/0.0003243, allocations: 8.562 kB / 493 MB, free: 8.629 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1419, allocations: 77.12 MB / 0.5567 GB, free: 11.72 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.3769/0.5188, allocations: 58.49 MB / 0.6138 GB, free: 3.535 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01859/0.5375, allocations: 12.23 MB / 0.6258 GB, free: 10.84 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003667/0.5412, allocations: 62.28 kB / 0.6258 GB, free: 10.81 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003241/0.5445, allocations: 0.7841 MB / 0.6266 GB, free: 10.37 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009242/0.5537, allocations: 2.24 MB / 0.6288 GB, free: 8.898 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007878/0.5616, allocations: 1.898 MB / 0.6306 GB, free: 7.918 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00716/0.5688, allocations: 2.663 MB / 0.6332 GB, free: 6.164 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002586/0.5714, allocations: 1.162 MB / 0.6344 GB, free: 5.453 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003641/0.5751, allocations: 1.264 MB / 0.6356 GB, free: 4.68 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002251/0.5774, allocations: 0.8111 MB / 0.6364 GB, free: 4.203 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003195/0.5777, allocations: 67.44 kB / 0.6365 GB, free: 4.203 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004207/0.5819, allocations: 1.171 MB / 0.6376 GB, free: 3.703 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004664/0.5824, allocations: 299 kB / 0.6379 GB, free: 3.488 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009483/0.5834, allocations: 396.7 kB / 0.6383 GB, free: 3.266 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003813/0.5872, allocations: 2.422 MB / 0.6406 GB, free: 1.594 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.5872, allocations: 1.406 kB / 0.6406 GB, free: 1.594 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.5872, allocations: 0 / 0.6406 GB, free: 1.594 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.359e-05/0.5873, allocations: 0 / 0.6406 GB, free: 1.594 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.003816/0.5911, allocations: 1.925 MB / 0.6425 GB, free: 140 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.5911, allocations: 9.438 kB / 0.6425 GB, free: 140 kB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002752/0.5914, allocations: 178.9 kB / 0.6427 GB, free: 15.99 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004748/0.5962, allocations: 0.6877 MB / 0.6434 GB, free: 15.7 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002927/0.5991, allocations: 1.441 MB / 0.6448 GB, free: 14.54 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001358/0.5993, allocations: 127.1 kB / 0.6449 GB, free: 14.46 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001699/0.5994, allocations: 123.3 kB / 0.645 GB, free: 14.42 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003681/0.6031, allocations: 1.627 MB / 0.6466 GB, free: 13.35 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.524e-05/0.6032, allocations: 3.938 kB / 0.6466 GB, free: 13.34 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001395/0.6033, allocations: 54.28 kB / 0.6467 GB, free: 13.3 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.54e-05/0.6034, allocations: 38.47 kB / 0.6467 GB, free: 13.3 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004376/0.6078, allocations: 1.46 MB / 0.6481 GB, free: 12.31 MB / 478.1 MB 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.01057/0.6183, allocations: 7.242 MB / 0.6552 GB, free: 4.688 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002148/0.6205, allocations: 0.811 MB / 0.656 GB, free: 3.867 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001404/0.6219, allocations: 1.267 MB / 0.6572 GB, free: 2.324 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.622, allocations: 39.69 kB / 0.6573 GB, free: 2.277 MB / 478.1 MB Notification: Performance of pre-optimization done (n=68): time 2.314e-06/0.622, allocations: 0 / 0.6573 GB, free: 2.277 MB / 478.1 MB Notification: Performance of matching and sorting (n=68): time 0.009235/0.6312, allocations: 2.221 MB / 0.6594 GB, free: 32 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.359e-05/0.6313, allocations: 111.4 kB / 0.6595 GB, free: 15.9 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002019/0.6334, allocations: 1.402 MB / 0.6609 GB, free: 14.48 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001563/0.6335, allocations: 49.69 kB / 0.661 GB, free: 14.43 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005394/0.6341, allocations: 0.6881 MB / 0.6616 GB, free: 13.73 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002202/0.6343, allocations: 232.7 kB / 0.6619 GB, free: 13.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.393e-05/0.6344, allocations: 12 kB / 0.6619 GB, free: 13.49 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.6345, allocations: 341.9 kB / 0.6622 GB, free: 13.15 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001658/0.6362, allocations: 0.4938 MB / 0.6627 GB, free: 12.66 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001887/0.6381, allocations: 0.7628 MB / 0.6634 GB, free: 11.79 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001731/0.6398, allocations: 0.5496 MB / 0.664 GB, free: 11.24 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.251e-06/0.6398, allocations: 4 kB / 0.664 GB, free: 11.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.004478/0.6443, allocations: 1.551 MB / 0.6655 GB, free: 9.672 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009252/0.6452, allocations: 2.497 MB / 0.6679 GB, free: 7.023 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.6453, allocations: 4 kB / 0.6679 GB, free: 7.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001554/0.6468, allocations: 461.8 kB / 0.6684 GB, free: 6.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001278/0.6481, allocations: 259.6 kB / 0.6686 GB, free: 6.316 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001416/0.6495, allocations: 1.076 MB / 0.6697 GB, free: 5.215 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002365/0.6519, allocations: 278.6 kB / 0.6699 GB, free: 4.941 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/0.652, allocations: 52.05 kB / 0.67 GB, free: 4.891 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.6521, allocations: 4 kB / 0.67 GB, free: 4.887 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004081/0.6562, allocations: 1.394 MB / 0.6713 GB, free: 3.488 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.6562, allocations: 11.98 kB / 0.6713 GB, free: 3.477 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001366/0.6576, allocations: 465.3 kB / 0.6718 GB, free: 3.023 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/0.6588, allocations: 255.6 kB / 0.672 GB, free: 2.773 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001332/0.6601, allocations: 1.076 MB / 0.6731 GB, free: 1.672 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002105/0.6623, allocations: 251 kB / 0.6733 GB, free: 1.426 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-05/0.6624, allocations: 51.95 kB / 0.6734 GB, free: 1.375 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 23} Notification: Performance of prepare postOptimizeDAE: time 0.000786/0.6632, allocations: 452.8 kB / 0.6738 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002456/0.6634, allocations: 146.2 kB / 0.6739 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003978/0.6674, allocations: 1.308 MB / 0.6752 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.42e-05/0.6674, allocations: 15.95 kB / 0.6752 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.6675, allocations: 4 kB / 0.6752 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003258/0.6707, allocations: 1.135 MB / 0.6764 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007969/0.6787, allocations: 3.453 MB / 0.6797 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/0.6787, allocations: 4 kB / 0.6797 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008907/0.6796, allocations: 155.9 kB / 0.6799 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001512/0.6812, allocations: 443.9 kB / 0.6803 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-05/0.6812, allocations: 23.97 kB / 0.6803 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001507/0.6827, allocations: 1.075 MB / 0.6814 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/0.6828, allocations: 4 kB / 0.6814 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004109/0.6869, allocations: 1.63 MB / 0.683 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008849/0.6878, allocations: 402.9 kB / 0.6834 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002577/0.688, allocations: 23.98 kB / 0.6834 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001807/0.6899, allocations: 159.7 kB / 0.6835 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.69, allocations: 52.31 kB / 0.6836 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.115e-05/0.6901, allocations: 47.94 kB / 0.6836 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001648/0.6917, allocations: 0.9927 MB / 0.6846 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2e-07/0.6917, allocations: 0 / 0.6846 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002506/0.6943, allocations: 0.8889 MB / 0.6855 GB, free: 4.492 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.005649/0.6999, allocations: 3.693 MB / 0.6891 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005993/0.7059, allocations: 1.837 MB / 0.6909 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.08e-05/0.706, allocations: 7.781 kB / 0.6909 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001738/0.7077, allocations: 0.5334 MB / 0.6914 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004145/0.7119, allocations: 0.7672 MB / 0.6921 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009921/0.7218, allocations: 8.164 MB / 0.7001 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001118/0.723, allocations: 1.235 MB / 0.7013 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001858/0.7248, allocations: 338.4 kB / 0.7016 GB, free: 3.535 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007696/0.7256, allocations: 0.5656 MB / 0.7022 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of SimCode: time 1.303e-06/0.7256, allocations: 0 / 0.7022 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7665/1.492, allocations: 49.05 MB / 0.7501 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0006361/1.493, allocations: 274.4 kB / 0.7504 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.457/7.95, allocations: 2.344 kB / 0.7504 GB, free: 2.176 MB / 0.5606 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1) Environment - environmentSimulation: