Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater") translateModel(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.214/2.214, allocations: 251.1 MB / 266.7 MB, free: 11.56 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00134/0.001339, allocations: 184.6 kB / 326.3 MB, free: 2.848 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.445/2.445, allocations: 205.4 MB / 0.5772 GB, free: 20.74 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009661/0.000966, allocations: 83.23 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006572/0.0006573, allocations: 11.78 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2063/0.207, allocations: 106.3 MB / 0.8995 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.1628/0.3698, allocations: 116.5 MB / 1.013 GB, free: 12.77 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.03153/0.4014, allocations: 14.52 MB / 1.027 GB, free: 14.22 MB / 0.6824 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003062/0.4045, allocations: 63.56 kB / 1.027 GB, free: 14.16 MB / 0.6824 GB Notification: Performance of NFTyping.typeComponents: time 0.003456/0.408, allocations: 0.6716 MB / 1.028 GB, free: 13.48 MB / 0.6824 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.009087/0.4172, allocations: 2.036 MB / 1.03 GB, free: 11.44 MB / 0.6824 GB Notification: Performance of NFTyping.typeClassSections: time 0.007384/0.4246, allocations: 1.557 MB / 1.032 GB, free: 9.898 MB / 0.6824 GB Notification: Performance of NFFlatten.flatten: time 0.0101/0.4347, allocations: 5.189 MB / 1.037 GB, free: 4.695 MB / 0.6824 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003458/0.4382, allocations: 1.298 MB / 1.038 GB, free: 3.363 MB / 0.6824 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005502/0.4437, allocations: 1.419 MB / 1.039 GB, free: 1.938 MB / 0.6824 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003349/0.4471, allocations: 1.174 MB / 1.04 GB, free: 0.7578 MB / 0.6824 GB Notification: Performance of NFPackage.collectConstants: time 0.0005437/0.4477, allocations: 72 kB / 1.041 GB, free: 0.6875 MB / 0.6824 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00635/0.4541, allocations: 1.564 MB / 1.042 GB, free: 15.12 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0009983/0.4551, allocations: 342.5 kB / 1.042 GB, free: 14.79 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.00104/0.4562, allocations: 416.7 kB / 1.043 GB, free: 14.37 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.008586/0.4648, allocations: 2.767 MB / 1.046 GB, free: 11.6 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.377e-05/0.4649, allocations: 0 / 1.046 GB, free: 11.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.85e-06/0.4649, allocations: 3.938 kB / 1.046 GB, free: 11.59 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.765e-05/0.465, allocations: 0 / 1.046 GB, free: 11.59 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.01023/0.4753, allocations: 2.101 MB / 1.048 GB, free: 9.422 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.395e-05/0.4754, allocations: 8.031 kB / 1.048 GB, free: 9.414 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01665/0.492, allocations: 0.7517 MB / 1.048 GB, free: 8.66 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007356/0.4994, allocations: 1.596 MB / 1.05 GB, free: 7.008 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003777/0.4999, allocations: 132.2 kB / 1.05 GB, free: 6.871 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005956/0.5005, allocations: 132 kB / 1.05 GB, free: 6.742 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01122/0.5117, allocations: 1.724 MB / 1.052 GB, free: 4.918 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.718e-05/0.5119, allocations: 11.92 kB / 1.052 GB, free: 4.906 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003765/0.5123, allocations: 52 kB / 1.052 GB, free: 4.855 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001135/0.5124, allocations: 36 kB / 1.052 GB, free: 4.82 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0145/0.5269, allocations: 1.535 MB / 1.053 GB, free: 3.277 MB / 0.698 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.6072/1.134, allocations: 7.542 MB / 1.061 GB, free: 148.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00777/1.142, allocations: 1.176 MB / 1.062 GB, free: 148.1 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003947/1.146, allocations: 0.6046 MB / 1.062 GB, free: 148.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001722/1.148, allocations: 1.281 MB / 1.064 GB, free: 146.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004574/1.152, allocations: 0.6908 MB / 1.064 GB, free: 146.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=80): time 7.995e-06/1.152, allocations: 0 / 1.064 GB, free: 146.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=80): time 0.04064/1.193, allocations: 3.224 MB / 1.068 GB, free: 146.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/1.193, allocations: 138.8 kB / 1.068 GB, free: 146.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003076/1.196, allocations: 1.257 MB / 1.069 GB, free: 146.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003341/1.197, allocations: 48.73 kB / 1.069 GB, free: 146.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001011/1.198, allocations: 0.7183 MB / 1.07 GB, free: 145.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005618/1.198, allocations: 277.3 kB / 1.07 GB, free: 145.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001208/1.198, allocations: 21.28 kB / 1.07 GB, free: 145.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001228/1.199, allocations: 345.9 kB / 1.07 GB, free: 145.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004138/1.203, allocations: 0.5282 MB / 1.071 GB, free: 145.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004427/1.207, allocations: 0.8116 MB / 1.072 GB, free: 145.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004234/1.212, allocations: 0.5758 MB / 1.072 GB, free: 145.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.466e-05/1.212, allocations: 5.875 kB / 1.072 GB, free: 145.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.01103/1.223, allocations: 1.676 MB / 1.074 GB, free: 145 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001985/1.223, allocations: 267.4 kB / 1.074 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.204e-05/1.223, allocations: 6.031 kB / 1.074 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003533/1.226, allocations: 0.555 MB / 1.075 GB, free: 144.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002861/1.229, allocations: 251.5 kB / 1.075 GB, free: 144.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003457/1.233, allocations: 1.178 MB / 1.076 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003931/1.237, allocations: 236.9 kB / 1.076 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003239/1.237, allocations: 56.12 kB / 1.076 GB, free: 144 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/1.237, allocations: 3.406 kB / 1.076 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009539/1.247, allocations: 1.509 MB / 1.078 GB, free: 143.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.297e-05/1.247, allocations: 6 kB / 1.078 GB, free: 143.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003189/1.25, allocations: 0.5488 MB / 1.078 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002698/1.253, allocations: 250.3 kB / 1.079 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003229/1.256, allocations: 1.181 MB / 1.08 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003785/1.26, allocations: 221.7 kB / 1.08 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002395/1.26, allocations: 57.45 kB / 1.08 GB, free: 142.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.calDat.nextTimeEvent,calDat.nextTimeEvent,$PRE.calDat.nextTimeEventScaled,calDat.nextTimeEventScaled,$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 (91): * Single equations (assignments): 90 * 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 25} Notification: Performance of prepare postOptimizeDAE: time 0.001232/1.261, allocations: 470.1 kB / 1.08 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000489/1.262, allocations: 149.3 kB / 1.081 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02396/1.286, allocations: 2.175 MB / 1.083 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02379/1.31, allocations: 1.998 MB / 1.085 GB, free: 140.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.087e-05/1.31, allocations: 1.5 kB / 1.085 GB, free: 140.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001334/1.311, allocations: 399.3 kB / 1.085 GB, free: 140.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006265/1.312, allocations: 20.75 kB / 1.085 GB, free: 140.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003794/1.316, allocations: 163.7 kB / 1.085 GB, free: 140.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002948/1.316, allocations: 52.44 kB / 1.085 GB, free: 140.2 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02012/1.336, allocations: 1.794 MB / 1.087 GB, free: 139.3 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01867/1.355, allocations: 2.118 MB / 1.089 GB, free: 138.1 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005534/1.36, allocations: 0.5522 MB / 1.09 GB, free: 137.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002856/1.363, allocations: 0.8552 MB / 1.09 GB, free: 137.3 MB / 0.698 GB Notification: Performance of Backend: time 1.503e-06/1.363, allocations: 7.969 kB / 1.09 GB, free: 137.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.02105/1.384, allocations: 2.684 MB / 1.093 GB, free: 136.3 MB / 0.698 GB Notification: Performance of SimCode: time 0.01562/1.4, allocations: 4.097 MB / 1.097 GB, free: 132.8 MB / 0.698 GB Notification: Performance of Templates: time 0.1036/1.504, allocations: 42.72 MB / 1.139 GB, free: 90.32 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)