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/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 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.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/BuildingSystems 2.0.0-master/package.mo): time 0.7711/0.7711, allocations: 140.1 MB / 156 MB, free: 5.168 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001336/0.001337, allocations: 180.1 kB / 188.5 MB, free: 15.82 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.683/1.683, allocations: 205.4 MB / 426.3 MB, free: 8.375 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008365/0.0008368, allocations: 86.38 kB / 0.4945 GB, free: 8.312 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001698/0.001697, allocations: 274 kB / 0.5729 GB, free: 66.2 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004821/0.0004821, allocations: 19.98 kB / 0.662 GB, free: 6.801 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4193/0.4198, allocations: 79.29 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7672/1.187, allocations: 391.8 MB / 1.122 GB, free: 1.375 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/1.187, allocations: 100 kB / 1.122 GB, free: 1.32 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.014/3.202, allocations: 0.5407 GB / 1.663 GB, free: 93.45 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.412e-06/3.202, allocations: 0 / 1.663 GB, free: 93.45 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001533/3.202, allocations: 44.84 kB / 1.663 GB, free: 93.45 MB / 0.6667 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.00458/3.207, allocations: 2.088 MB / 1.665 GB, free: 92.74 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/3.207, allocations: 14.41 kB / 1.665 GB, free: 92.73 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004305/3.211, allocations: 0.6711 MB / 1.666 GB, free: 92.64 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003457/3.214, allocations: 1.766 MB / 1.667 GB, free: 92.28 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001279/3.215, allocations: 132.6 kB / 1.667 GB, free: 92.25 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001709/3.215, allocations: 119.5 kB / 1.668 GB, free: 92.25 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003456/3.218, allocations: 1.666 MB / 1.669 GB, free: 91.97 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.214e-05/3.218, allocations: 4.594 kB / 1.669 GB, free: 91.97 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001484/3.218, allocations: 50.62 kB / 1.669 GB, free: 91.97 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.297e-05/3.218, allocations: 37.56 kB / 1.669 GB, free: 91.97 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004586/3.223, allocations: 1.497 MB / 1.671 GB, free: 91.95 MB / 0.6667 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.009204/3.232, allocations: 7.036 MB / 1.678 GB, free: 88.81 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001908/3.234, allocations: 0.782 MB / 1.678 GB, free: 88.77 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001408/3.236, allocations: 0.4956 MB / 1.679 GB, free: 88.76 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001034/3.237, allocations: 1.271 MB / 1.68 GB, free: 87.35 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/3.237, allocations: 46.19 kB / 1.68 GB, free: 87.31 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=66): time 2.855e-06/3.237, allocations: 0 / 1.68 GB, free: 87.31 MB / 0.6667 GB Notification: Performance of matching and sorting (n=66): time 0.02136/3.258, allocations: 3.775 MB / 1.684 GB, free: 87.09 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.296e-05/3.258, allocations: 114.1 kB / 1.684 GB, free: 86.96 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002444/3.261, allocations: 1.363 MB / 1.685 GB, free: 86.8 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001758/3.261, allocations: 50.44 kB / 1.685 GB, free: 86.77 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005154/3.261, allocations: 0.699 MB / 1.686 GB, free: 86.56 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002138/3.262, allocations: 226.7 kB / 1.686 GB, free: 86.45 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.496e-05/3.262, allocations: 15.88 kB / 1.686 GB, free: 86.45 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.298e-05/3.262, allocations: 337.5 kB / 1.687 GB, free: 86.14 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001628/3.263, allocations: 0.4968 MB / 1.687 GB, free: 86.14 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001715/3.265, allocations: 0.7838 MB / 1.688 GB, free: 85.83 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003153/3.268, allocations: 1.131 MB / 1.689 GB, free: 85.6 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.388e-06/3.268, allocations: 7.031 kB / 1.689 GB, free: 85.59 MB / 0.6667 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.004417/3.273, allocations: 1.565 MB / 1.69 GB, free: 85.47 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001158/3.273, allocations: 278.1 kB / 1.691 GB, free: 85.17 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/3.273, allocations: 10.06 kB / 1.691 GB, free: 85.17 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001695/3.275, allocations: 0.5716 MB / 1.691 GB, free: 85.15 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/3.276, allocations: 237.2 kB / 1.691 GB, free: 85.15 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001746/3.278, allocations: 1.167 MB / 1.693 GB, free: 84.62 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002383/3.28, allocations: 273.7 kB / 1.693 GB, free: 84.57 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001327/3.28, allocations: 56.95 kB / 1.693 GB, free: 84.57 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/3.28, allocations: 6.75 kB / 1.693 GB, free: 84.57 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004062/3.284, allocations: 1.411 MB / 1.694 GB, free: 84.55 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/3.284, allocations: 8.25 kB / 1.694 GB, free: 84.55 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001679/3.286, allocations: 0.5651 MB / 1.695 GB, free: 84.53 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/3.287, allocations: 248 kB / 1.695 GB, free: 84.53 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001576/3.289, allocations: 1.167 MB / 1.696 GB, free: 84 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002118/3.291, allocations: 239.5 kB / 1.696 GB, free: 83.95 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001229/3.291, allocations: 51.88 kB / 1.697 GB, free: 83.95 MB / 0.6667 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 ($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 (74): * Single equations (assignments): 73 * 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.0008907/3.292, allocations: 448.5 kB / 1.697 GB, free: 83.76 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004308/3.292, allocations: 147.3 kB / 1.697 GB, free: 83.68 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003906/3.296, allocations: 1.32 MB / 1.698 GB, free: 83.6 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-05/3.296, allocations: 7.375 kB / 1.698 GB, free: 83.6 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/3.296, allocations: 0 / 1.698 GB, free: 83.6 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00318/3.299, allocations: 1.188 MB / 1.7 GB, free: 83.42 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007454/3.307, allocations: 3.429 MB / 1.703 GB, free: 82.48 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.505e-05/3.307, allocations: 3.938 kB / 1.703 GB, free: 82.48 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007724/3.308, allocations: 149.4 kB / 1.703 GB, free: 82.48 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001634/3.309, allocations: 0.5507 MB / 1.704 GB, free: 82.46 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-05/3.309, allocations: 34.31 kB / 1.704 GB, free: 82.46 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001604/3.311, allocations: 1.154 MB / 1.705 GB, free: 81.93 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/3.311, allocations: 4.5 kB / 1.705 GB, free: 81.93 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004971/3.316, allocations: 1.454 MB / 1.706 GB, free: 81.58 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001478/3.317, allocations: 385.3 kB / 1.707 GB, free: 81.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000698/3.318, allocations: 20.91 kB / 1.707 GB, free: 81.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002785/3.321, allocations: 140.4 kB / 1.707 GB, free: 81.4 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001911/3.321, allocations: 63.17 kB / 1.707 GB, free: 81.39 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001962/3.321, allocations: 42.33 kB / 1.707 GB, free: 81.39 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.002629/3.324, allocations: 0.9539 MB / 1.708 GB, free: 81.29 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.11e-07/3.324, allocations: 0 / 1.708 GB, free: 81.29 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.004756/3.329, allocations: 0.9439 MB / 1.709 GB, free: 81.15 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (40): * Single equations (assignments): 37 * 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 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.00256/3.331, allocations: 0.8276 MB / 1.709 GB, free: 80.93 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.008667/3.34, allocations: 1.834 MB / 1.711 GB, free: 80.89 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.271e-05/3.34, allocations: 3.938 kB / 1.711 GB, free: 80.89 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001938/3.342, allocations: 0.5415 MB / 1.712 GB, free: 80.88 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004945/3.347, allocations: 0.8095 MB / 1.713 GB, free: 80.87 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006232/3.353, allocations: 3.085 MB / 1.716 GB, free: 79.5 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005979/3.354, allocations: 1.204 MB / 1.717 GB, free: 78.79 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001717/3.356, allocations: 331.6 kB / 1.717 GB, free: 78.77 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002805/3.356, allocations: 120.6 kB / 1.717 GB, free: 78.76 MB / 0.6667 GB Notification: Performance of SimCode: time 7.41e-07/3.356, allocations: 2.156 kB / 1.717 GB, free: 78.76 MB / 0.6667 GB Notification: Performance of Templates: time 0.0559/3.412, allocations: 41.38 MB / 1.758 GB, free: 76.47 MB / 0.6667 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)