Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Calibration.ScrollWaterToWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Calibration.ScrollWaterToWater") translateModel(BuildingSystems.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Calibration.ScrollWaterToWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7859/0.7859, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 181.7 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 221.3 MB / 441.4 MB, free: 4.594 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008936/0.0008936, allocations: 89.02 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001897/0.001897, allocations: 278.8 kB / 0.5939 GB, free: 7.953 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 6.923e-05/6.925e-05, allocations: 4 kB / 0.6834 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4516/0.4517, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8394/1.291, allocations: 398.9 MB / 1.154 GB, free: 8.375 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003725/1.292, allocations: 96.95 kB / 1.154 GB, free: 8.332 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.077/3.368, allocations: 0.5642 GB / 1.718 GB, free: 7.027 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.844e-06/3.368, allocations: 0 / 1.718 GB, free: 7.027 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001798/3.369, allocations: 55.86 kB / 1.718 GB, free: 6.973 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.004968/3.374, allocations: 1.944 MB / 1.72 GB, free: 4.965 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/3.374, allocations: 12.03 kB / 1.72 GB, free: 4.953 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004888/3.379, allocations: 0.6845 MB / 1.721 GB, free: 4.266 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003908/3.382, allocations: 1.861 MB / 1.723 GB, free: 2.348 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001326/3.383, allocations: 128.1 kB / 1.723 GB, free: 2.215 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000193/3.383, allocations: 128 kB / 1.723 GB, free: 2.09 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002511/3.385, allocations: 1.557 MB / 1.724 GB, free: 440 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.534e-05/3.385, allocations: 0 / 1.724 GB, free: 440 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001416/3.386, allocations: 56 kB / 1.724 GB, free: 384 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.715e-05/3.386, allocations: 58.22 kB / 1.725 GB, free: 324 kB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6221/4.008, allocations: 1.193 MB / 1.726 GB, free: 97.89 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.01507/4.023, allocations: 7.516 MB / 1.733 GB, free: 94.62 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00216/4.025, allocations: 0.9255 MB / 1.734 GB, free: 94.58 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009244/4.026, allocations: 475.3 kB / 1.734 GB, free: 94.57 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001339/4.027, allocations: 1.271 MB / 1.736 GB, free: 93.16 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009789/4.028, allocations: 0.5733 MB / 1.736 GB, free: 93.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=79): time 3.737e-06/4.028, allocations: 3.438 kB / 1.736 GB, free: 93.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=79): time 0.00421/4.033, allocations: 1.207 MB / 1.737 GB, free: 92.96 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.116e-05/4.033, allocations: 168.6 kB / 1.738 GB, free: 92.78 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002321/4.035, allocations: 1.155 MB / 1.739 GB, free: 92.61 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002005/4.035, allocations: 54.2 kB / 1.739 GB, free: 92.58 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007007/4.036, allocations: 0.7263 MB / 1.739 GB, free: 92.36 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003084/4.036, allocations: 274.2 kB / 1.74 GB, free: 92.23 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.288e-05/4.036, allocations: 17.34 kB / 1.74 GB, free: 92.23 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001028/4.036, allocations: 342.1 kB / 1.74 GB, free: 91.93 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006134/4.037, allocations: 387.4 kB / 1.74 GB, free: 91.93 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008181/4.038, allocations: 0.686 MB / 1.741 GB, free: 91.59 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006917/4.039, allocations: 438.2 kB / 1.741 GB, free: 91.58 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/4.039, allocations: 0 / 1.741 GB, free: 91.58 MB / 0.698 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002456/4.041, allocations: 1.321 MB / 1.743 GB, free: 91.46 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006358/4.042, allocations: 2.408 MB / 1.745 GB, free: 89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/4.042, allocations: 12.66 kB / 1.745 GB, free: 89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001858/4.044, allocations: 0.5072 MB / 1.746 GB, free: 88.99 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001359/4.045, allocations: 249.5 kB / 1.746 GB, free: 88.99 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001546/4.046, allocations: 1.094 MB / 1.747 GB, free: 88.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003054/4.05, allocations: 247.2 kB / 1.747 GB, free: 88.43 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001705/4.05, allocations: 59 kB / 1.747 GB, free: 88.43 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/4.05, allocations: 3.938 kB / 1.747 GB, free: 88.43 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002148/4.052, allocations: 1.165 MB / 1.748 GB, free: 88.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/4.052, allocations: 7.812 kB / 1.748 GB, free: 88.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001473/4.053, allocations: 0.513 MB / 1.749 GB, free: 88.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/4.055, allocations: 236.1 kB / 1.749 GB, free: 88.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001213/4.056, allocations: 1.098 MB / 1.75 GB, free: 87.85 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002626/4.059, allocations: 220.8 kB / 1.75 GB, free: 87.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001339/4.059, allocations: 60.39 kB / 1.75 GB, free: 87.82 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 82 * 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.000523/4.059, allocations: 162.4 kB / 1.751 GB, free: 87.72 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004376/4.06, allocations: 154.5 kB / 1.751 GB, free: 87.64 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002826/4.062, allocations: 1.342 MB / 1.752 GB, free: 87.54 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-05/4.063, allocations: 10.69 kB / 1.752 GB, free: 87.54 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/4.063, allocations: 0 / 1.752 GB, free: 87.54 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00174/4.064, allocations: 1.127 MB / 1.753 GB, free: 87.36 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005438/4.07, allocations: 3.003 MB / 1.756 GB, free: 86.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/4.07, allocations: 3.75 kB / 1.756 GB, free: 86.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001095/4.071, allocations: 179.2 kB / 1.756 GB, free: 86.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001473/4.072, allocations: 0.4902 MB / 1.757 GB, free: 86.94 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.495e-05/4.072, allocations: 39.86 kB / 1.757 GB, free: 86.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001153/4.074, allocations: 1.074 MB / 1.758 GB, free: 86.41 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/4.074, allocations: 3.625 kB / 1.758 GB, free: 86.41 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002288/4.076, allocations: 1.375 MB / 1.759 GB, free: 86.05 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001033/4.077, allocations: 425.7 kB / 1.76 GB, free: 85.88 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001884/4.077, allocations: 14.28 kB / 1.76 GB, free: 85.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001706/4.079, allocations: 168.6 kB / 1.76 GB, free: 85.88 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/4.079, allocations: 53.11 kB / 1.76 GB, free: 85.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001153/4.079, allocations: 53.67 kB / 1.76 GB, free: 85.88 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001392/4.081, allocations: 0.9018 MB / 1.761 GB, free: 85.76 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.51e-07/4.081, allocations: 3.281 kB / 1.761 GB, free: 85.76 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003752/4.084, allocations: 1.077 MB / 1.762 GB, free: 85.71 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,calDat.nextTimeEvent,calDat.nextTimeEventScaled,heaPum.com.isOn) * Number of discrete states: 3 (calDat.nextTimeEvent,heaPum.com.isOn,calDat.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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 Backend phase and start with SimCode phase: time 0.003215/4.088, allocations: 1.205 MB / 1.763 GB, free: 85.57 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003561/4.091, allocations: 1.641 MB / 1.765 GB, free: 85.52 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.887e-06/4.091, allocations: 3.656 kB / 1.765 GB, free: 85.52 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009426/4.092, allocations: 0.5112 MB / 1.765 GB, free: 85.52 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003931/4.096, allocations: 0.773 MB / 1.766 GB, free: 85.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004231/4.1, allocations: 1.936 MB / 1.768 GB, free: 84.95 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007289/4.101, allocations: 1.302 MB / 1.769 GB, free: 84.23 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002314/4.103, allocations: 488.1 kB / 1.769 GB, free: 84.21 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002949/4.104, allocations: 118.3 kB / 1.77 GB, free: 84.21 MB / 0.698 GB Notification: Performance of SimCode: time 1.002e-06/4.104, allocations: 1.969 kB / 1.77 GB, free: 84.21 MB / 0.698 GB Notification: Performance of Templates: time 0.07367/4.177, allocations: 45.2 MB / 1.814 GB, free: 82.37 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Calibration.ScrollWaterToWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)