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 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: "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8462/0.8462, allocations: 141.8 MB / 149.3 MB, free: 9.207 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 172.9 kB / 182.2 MB, free: 9.449 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.679/1.679, allocations: 221.5 MB / 436.4 MB, free: 13.38 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.0009711/0.0009711, allocations: 84.11 kB / 0.5074 GB, free: 10.21 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002366/0.002366, allocations: 282.3 kB / 0.5889 GB, free: 54.69 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.739e-05/2.762e-05, allocations: 4 kB / 0.6766 GB, free: 12.77 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5417/0.5418, allocations: 82.79 MB / 0.7575 GB, free: 31.94 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9916/1.534, allocations: 393.7 MB / 1.142 GB, free: 3.684 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/1.534, allocations: 94.44 kB / 1.142 GB, free: 3.637 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.04/3.574, allocations: 0.5553 GB / 1.697 GB, free: 19.45 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.104e-06/3.574, allocations: 0 / 1.697 GB, free: 19.45 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001522/3.574, allocations: 47.92 kB / 1.697 GB, free: 19.4 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.004864/3.579, allocations: 1.855 MB / 1.699 GB, free: 17.48 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.992e-05/3.579, allocations: 8.031 kB / 1.699 GB, free: 17.47 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005099/3.584, allocations: 0.6691 MB / 1.7 GB, free: 16.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004109/3.588, allocations: 1.77 MB / 1.702 GB, free: 14.97 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001076/3.588, allocations: 83.98 kB / 1.702 GB, free: 14.88 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001559/3.588, allocations: 72 kB / 1.702 GB, free: 14.81 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001888/3.59, allocations: 1.024 MB / 1.703 GB, free: 13.79 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001991/3.592, allocations: 1.295 MB / 1.704 GB, free: 12.39 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.755e-05/3.592, allocations: 0 / 1.704 GB, free: 12.39 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001238/3.592, allocations: 4 kB / 1.704 GB, free: 12.39 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.695e-05/3.593, allocations: 58.08 kB / 1.704 GB, free: 12.33 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.009964/3.602, allocations: 6.821 MB / 1.711 GB, free: 5.191 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009803/3.604, allocations: 0.5826 MB / 1.711 GB, free: 4.594 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004316/3.604, allocations: 323 kB / 1.712 GB, free: 4.277 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001244/3.605, allocations: 1.264 MB / 1.713 GB, free: 2.738 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/3.605, allocations: 47.12 kB / 1.713 GB, free: 2.684 MB / 0.698 GB Notification: Performance of pre-optimization done (n=66): time 4.008e-06/3.605, allocations: 0 / 1.713 GB, free: 2.684 MB / 0.698 GB Notification: Performance of matching and sorting (n=66): time 0.003015/3.608, allocations: 0.9394 MB / 1.714 GB, free: 1.73 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/3.608, allocations: 111.4 kB / 1.714 GB, free: 1.598 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00142/3.61, allocations: 0.9666 MB / 1.715 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001364/3.61, allocations: 29.7 kB / 1.715 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.5127/4.123, allocations: 0.7006 MB / 1.716 GB, free: 103.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000731/4.123, allocations: 225.7 kB / 1.716 GB, free: 103.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002062/4.124, allocations: 0.8438 kB / 1.716 GB, free: 103.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001669/4.124, allocations: 338.9 kB / 1.716 GB, free: 103.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000913/4.125, allocations: 302.9 kB / 1.716 GB, free: 103.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009916/4.126, allocations: 0.5765 MB / 1.717 GB, free: 103.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002513/4.128, allocations: 492 kB / 1.717 GB, free: 103.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.961e-05/4.128, allocations: 2.75 kB / 1.717 GB, free: 103.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.004255/4.133, allocations: 1.194 MB / 1.719 GB, free: 103 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005427/4.133, allocations: 2.463 MB / 1.721 GB, free: 100.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.363e-05/4.133, allocations: 6.562 kB / 1.721 GB, free: 100.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001192/4.134, allocations: 446.1 kB / 1.721 GB, free: 100.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00146/4.136, allocations: 241 kB / 1.722 GB, free: 100.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001961/4.138, allocations: 1.135 MB / 1.723 GB, free: 99.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002804/4.141, allocations: 229.3 kB / 1.723 GB, free: 99.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002557/4.141, allocations: 54.88 kB / 1.723 GB, free: 99.88 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/4.141, allocations: 3.438 kB / 1.723 GB, free: 99.88 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003589/4.145, allocations: 1.042 MB / 1.724 GB, free: 99.85 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.312e-05/4.145, allocations: 7.734 kB / 1.724 GB, free: 99.85 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001007/4.146, allocations: 453.5 kB / 1.725 GB, free: 99.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001302/4.147, allocations: 237.6 kB / 1.725 GB, free: 99.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001608/4.149, allocations: 1.131 MB / 1.726 GB, free: 99.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00235/4.151, allocations: 190.9 kB / 1.726 GB, free: 99.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001833/4.151, allocations: 54.86 kB / 1.726 GB, free: 99.29 MB / 0.698 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 () * 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 {5 24} Notification: Performance of prepare postOptimizeDAE: time 0.0004207/4.152, allocations: 128.2 kB / 1.726 GB, free: 99.18 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002841/4.154, allocations: 0.9416 MB / 1.727 GB, free: 99.07 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004051/4.155, allocations: 120.9 kB / 1.727 GB, free: 99 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004489/4.159, allocations: 1.114 MB / 1.728 GB, free: 98.92 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/4.159, allocations: 7.594 kB / 1.728 GB, free: 98.92 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/4.159, allocations: 0 / 1.728 GB, free: 98.92 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003833/4.163, allocations: 1.016 MB / 1.729 GB, free: 98.74 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006893/4.17, allocations: 3.022 MB / 1.732 GB, free: 97.85 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/4.17, allocations: 3.812 kB / 1.732 GB, free: 97.85 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008805/4.171, allocations: 147.7 kB / 1.732 GB, free: 97.85 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009003/4.172, allocations: 433 kB / 1.733 GB, free: 97.84 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.296e-05/4.172, allocations: 20.61 kB / 1.733 GB, free: 97.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001361/4.173, allocations: 1.129 MB / 1.734 GB, free: 97.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/4.173, allocations: 7.938 kB / 1.734 GB, free: 97.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002844/4.176, allocations: 1.344 MB / 1.735 GB, free: 96.73 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008327/4.177, allocations: 369 kB / 1.736 GB, free: 96.58 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003793/4.178, allocations: 11.75 kB / 1.736 GB, free: 96.58 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001998/4.18, allocations: 130 kB / 1.736 GB, free: 96.58 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001523/4.18, allocations: 58 kB / 1.736 GB, free: 96.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001658/4.18, allocations: 47.06 kB / 1.736 GB, free: 96.57 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001897/4.182, allocations: 0.7327 MB / 1.737 GB, free: 96.46 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.11e-07/4.182, allocations: 0 / 1.737 GB, free: 96.46 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00582/4.188, allocations: 0.9865 MB / 1.738 GB, free: 96.41 MB / 0.698 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) * 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.007608/4.195, allocations: 3.607 MB / 1.741 GB, free: 94.34 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004198/4.2, allocations: 1.294 MB / 1.742 GB, free: 94.32 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-05/4.2, allocations: 4.594 kB / 1.742 GB, free: 94.32 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001096/4.201, allocations: 382.3 kB / 1.743 GB, free: 94.31 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005148/4.206, allocations: 0.5892 MB / 1.743 GB, free: 94.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008345/4.214, allocations: 2.162 MB / 1.745 GB, free: 93.66 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00107/4.215, allocations: 1.243 MB / 1.747 GB, free: 92.95 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002701/4.218, allocations: 370.3 kB / 1.747 GB, free: 92.93 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007553/4.219, allocations: 0.5172 MB / 1.747 GB, free: 92.93 MB / 0.698 GB Notification: Performance of SimCode: time 9.72e-07/4.219, allocations: 0 / 1.747 GB, free: 92.93 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09572/4.315, allocations: 46.62 MB / 1.793 GB, free: 91.13 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000214/4.315, allocations: 192.4 kB / 1.793 GB, free: 90.94 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.466/7.781, allocations: 0 / 1.793 GB, free: 90.94 MB / 0.698 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe 2>&1)