Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static") translateModel(BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001596/0.001596, allocations: 109.9 kB / 16.41 MB, free: 6.449 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.001808/0.001808, allocations: 188.3 kB / 17.35 MB, free: 5.738 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.317/1.317, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002074/0.002074, allocations: 285.5 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9385/0.9385, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 99.78 kB / 0.6821 GB, free: 6.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3922/0.3941, allocations: 86.97 MB / 0.767 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static): time 0.06441/0.4585, allocations: 69.93 MB / 0.8353 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01877/0.4773, allocations: 14.38 MB / 0.8494 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001886/0.4792, allocations: 71.62 kB / 0.8495 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002136/0.4814, allocations: 0.9316 MB / 0.8504 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005967/0.4874, allocations: 2.543 MB / 0.8528 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005214/0.4926, allocations: 1.994 MB / 0.8548 GB, free: 9.762 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.006255/0.4989, allocations: 4.632 MB / 0.8593 GB, free: 5.117 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002347/0.5013, allocations: 1.602 MB / 0.8609 GB, free: 3.477 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003826/0.5051, allocations: 1.82 MB / 0.8627 GB, free: 1.656 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001638/0.5068, allocations: 1.264 MB / 0.8639 GB, free: 396 kB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002766/0.507, allocations: 196 kB / 0.8641 GB, free: 200 kB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003832/0.5109, allocations: 1.981 MB / 0.866 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004236/0.5113, allocations: 466.5 kB / 0.8665 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001134/0.5125, allocations: 1.023 MB / 0.8675 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004758/0.5172, allocations: 3.513 MB / 0.8709 GB, free: 9.207 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.5173, allocations: 0 / 0.8709 GB, free: 9.207 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.382e-06/0.5173, allocations: 0 / 0.8709 GB, free: 9.207 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.924e-05/0.5173, allocations: 0 / 0.8709 GB, free: 9.207 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.004026/0.5213, allocations: 2.306 MB / 0.8731 GB, free: 6.832 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.5214, allocations: 11.97 kB / 0.8732 GB, free: 6.82 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005752/0.5271, allocations: 0.6972 MB / 0.8738 GB, free: 6.121 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002648/0.5298, allocations: 1.588 MB / 0.8754 GB, free: 4.477 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001273/0.5299, allocations: 128 kB / 0.8755 GB, free: 4.344 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001881/0.5301, allocations: 127.9 kB / 0.8756 GB, free: 4.219 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003921/0.5341, allocations: 1.644 MB / 0.8772 GB, free: 2.48 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.512e-05/0.5341, allocations: 0 / 0.8772 GB, free: 2.48 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001413/0.5343, allocations: 59.98 kB / 0.8773 GB, free: 2.422 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.737e-05/0.5343, allocations: 47.91 kB / 0.8773 GB, free: 2.375 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004756/0.5391, allocations: 1.48 MB / 0.8788 GB, free: 0.8867 MB / 0.6387 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.009459/0.5485, allocations: 7.245 MB / 0.8859 GB, free: 9.258 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002412/0.551, allocations: 0.8108 MB / 0.8866 GB, free: 8.438 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001756/0.5527, allocations: 0.5022 MB / 0.8871 GB, free: 7.934 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001271/0.554, allocations: 1.271 MB / 0.8884 GB, free: 6.387 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/0.5541, allocations: 47.06 kB / 0.8884 GB, free: 6.332 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=70): time 3.146e-06/0.5541, allocations: 4 kB / 0.8884 GB, free: 6.328 MB / 0.6544 GB Notification: Performance of matching and sorting (n=70): time 0.03065/0.5847, allocations: 4.139 MB / 0.8925 GB, free: 2.16 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.357e-05/0.5848, allocations: 115.4 kB / 0.8926 GB, free: 2.023 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00223/0.5871, allocations: 1.382 MB / 0.8939 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001668/0.5873, allocations: 45.69 kB / 0.894 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006052/0.5879, allocations: 0.6766 MB / 0.8946 GB, free: 15.89 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002517/0.5881, allocations: 248.4 kB / 0.8949 GB, free: 15.64 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003622/0.5885, allocations: 222.3 kB / 0.8951 GB, free: 15.42 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.5886, allocations: 345.9 kB / 0.8954 GB, free: 15.08 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002057/0.5907, allocations: 0.5082 MB / 0.8959 GB, free: 14.57 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002252/0.593, allocations: 0.7667 MB / 0.8967 GB, free: 13.7 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003942/0.5969, allocations: 1.144 MB / 0.8978 GB, free: 12.46 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.567e-06/0.597, allocations: 4 kB / 0.8978 GB, free: 12.46 MB / 0.67 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.005562/0.6025, allocations: 1.586 MB / 0.8993 GB, free: 10.86 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.6026, allocations: 7.938 kB / 0.8993 GB, free: 10.85 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.6026, allocations: 11.94 kB / 0.8993 GB, free: 10.84 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002056/0.6047, allocations: 0.5677 MB / 0.8999 GB, free: 10.28 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001374/0.606, allocations: 243.6 kB / 0.9001 GB, free: 10.04 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002044/0.6081, allocations: 1.163 MB / 0.9013 GB, free: 8.852 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002289/0.6104, allocations: 226.7 kB / 0.9015 GB, free: 8.629 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/0.6105, allocations: 55.94 kB / 0.9015 GB, free: 8.574 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002508/0.613, allocations: 0.7931 MB / 0.9023 GB, free: 7.781 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002216/0.6153, allocations: 0.7706 MB / 0.9031 GB, free: 6.898 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003839/0.6191, allocations: 1.129 MB / 0.9042 GB, free: 5.684 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.037e-06/0.6191, allocations: 0 / 0.9042 GB, free: 5.684 MB / 0.67 GB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.005335/0.6245, allocations: 1.589 MB / 0.9057 GB, free: 4.082 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.6245, allocations: 8 kB / 0.9057 GB, free: 4.074 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.695e-05/0.6245, allocations: 4.25 kB / 0.9057 GB, free: 4.07 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001911/0.6265, allocations: 0.5722 MB / 0.9063 GB, free: 3.496 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001338/0.6278, allocations: 243.6 kB / 0.9065 GB, free: 3.258 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001946/0.6298, allocations: 1.162 MB / 0.9077 GB, free: 2.07 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002249/0.632, allocations: 191.2 kB / 0.9078 GB, free: 1.883 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/0.6321, allocations: 51.95 kB / 0.9079 GB, free: 1.832 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (heaPum.com.isOn,$PRE.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 (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 {(4,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0003337/0.6325, allocations: 244 kB / 0.9081 GB, free: 1.586 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002889/0.6328, allocations: 146.2 kB / 0.9083 GB, free: 1.441 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004566/0.6373, allocations: 1.359 MB / 0.9096 GB, free: 68 kB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003963/0.6413, allocations: 1.172 MB / 0.9107 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.6413, allocations: 4 kB / 0.9107 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006796/0.642, allocations: 354.9 kB / 0.9111 GB, free: 14.49 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002362/0.6423, allocations: 12 kB / 0.9111 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001689/0.644, allocations: 119.8 kB / 0.9112 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.6441, allocations: 48.48 kB / 0.9112 GB, free: 14.31 MB / 0.6856 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007009/0.6511, allocations: 1.5 MB / 0.9127 GB, free: 12.8 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005673/0.6568, allocations: 1.744 MB / 0.9144 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001664/0.6585, allocations: 452.2 kB / 0.9148 GB, free: 10.61 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.00165/0.6602, allocations: 0.9771 MB / 0.9158 GB, free: 9.629 MB / 0.6856 GB Notification: Performance of Backend: time 2.274e-06/0.6602, allocations: 0 / 0.9158 GB, free: 9.629 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.007365/0.6676, allocations: 2.158 MB / 0.9179 GB, free: 7.48 MB / 0.6856 GB Notification: Performance of SimCode: time 0.006127/0.6737, allocations: 3.503 MB / 0.9213 GB, free: 3.938 MB / 0.6856 GB Notification: Performance of Templates: time 0.3485/1.022, allocations: 45.91 MB / 0.9662 GB, free: 180 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe 2>&1)