Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.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.HAM.HeatAndMoistureTransport.Functions.Examples.wSor,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wSor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wSor",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.7483/0.7483, allocations: 141.7 MB / 154.3 MB, free: 15.5 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.001121/0.001121, allocations: 183.8 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.345/1.345, allocations: 221.3 MB / 441.4 MB, free: 4.625 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.0009601/0.0009601, allocations: 94.02 kB / 0.5124 GB, free: 24.15 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001801/0.0018, allocations: 267.4 kB / 0.5939 GB, free: 8 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.879e-05/3.897e-05, allocations: 7.984 kB / 0.6835 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4148/0.4149, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1173/0.5323, allocations: 110.6 MB / 0.8724 GB, free: 13.97 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002555/0.5326, allocations: 75.95 kB / 0.8725 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01185/0.5444, allocations: 4.921 MB / 0.8773 GB, free: 8.902 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5445, allocations: 0 / 0.8773 GB, free: 8.902 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.896e-06/0.5445, allocations: 4 kB / 0.8773 GB, free: 8.898 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004116/0.5449, allocations: 434 kB / 0.8777 GB, free: 8.43 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.545, allocations: 12.03 kB / 0.8777 GB, free: 8.418 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.727e-05/0.545, allocations: 30.56 kB / 0.8777 GB, free: 8.379 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.395e-05/0.545, allocations: 19.72 kB / 0.8777 GB, free: 8.359 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001701/0.5452, allocations: 218.6 kB / 0.878 GB, free: 8.109 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.5452, allocations: 0 / 0.878 GB, free: 8.109 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.699e-06/0.5453, allocations: 4 kB / 0.878 GB, free: 8.105 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.5454, allocations: 57.61 kB / 0.878 GB, free: 8.043 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.5454, allocations: 0 / 0.878 GB, free: 8.043 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.5454, allocations: 4 kB / 0.878 GB, free: 8.039 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.5454, allocations: 0 / 0.878 GB, free: 8.039 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.976e-05/0.5455, allocations: 43.97 kB / 0.8781 GB, free: 7.996 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005036/0.546, allocations: 336.8 kB / 0.8784 GB, free: 7.617 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 9.573e-05/0.5462, allocations: 62.53 kB / 0.8784 GB, free: 7.547 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.716e-05/0.5462, allocations: 28.84 kB / 0.8785 GB, free: 7.516 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.337e-05/0.5463, allocations: 8 kB / 0.8785 GB, free: 7.508 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.5463, allocations: 30.56 kB / 0.8785 GB, free: 7.469 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.5463, allocations: 4 kB / 0.8785 GB, free: 7.465 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0002252/0.5465, allocations: 97.38 kB / 0.8786 GB, free: 7.363 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.5466, allocations: 51.41 kB / 0.8786 GB, free: 7.301 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002169/0.5468, allocations: 227.1 kB / 0.8789 GB, free: 7.07 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.5468, allocations: 25.7 kB / 0.8789 GB, free: 7.039 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 9.676e-05/0.5469, allocations: 144 kB / 0.879 GB, free: 6.895 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.5469, allocations: 7.906 kB / 0.879 GB, free: 6.887 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.5469, allocations: 0 / 0.879 GB, free: 6.887 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.5471, allocations: 334.9 kB / 0.8794 GB, free: 6.551 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.445e-05/0.5471, allocations: 23.97 kB / 0.8794 GB, free: 6.527 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.275e-05/0.5472, allocations: 23.92 kB / 0.8794 GB, free: 6.504 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.956e-05/0.5472, allocations: 19.98 kB / 0.8794 GB, free: 6.484 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.5472, allocations: 0 / 0.8794 GB, free: 6.484 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000125/0.5474, allocations: 89.42 kB / 0.8795 GB, free: 6.391 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.5474, allocations: 8 kB / 0.8795 GB, free: 6.383 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.5474, allocations: 4 kB / 0.8795 GB, free: 6.379 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.5474, allocations: 4.094 kB / 0.8795 GB, free: 6.375 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.921e-05/0.5475, allocations: 11.98 kB / 0.8795 GB, free: 6.363 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.5475, allocations: 0 / 0.8795 GB, free: 6.363 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.219e-05/0.5476, allocations: 15.98 kB / 0.8795 GB, free: 6.348 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.371e-05/0.5476, allocations: 7.953 kB / 0.8796 GB, free: 6.34 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.32e-05/0.5477, allocations: 101 kB / 0.8796 GB, free: 6.234 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.043e-05/0.5477, allocations: 19.72 kB / 0.8797 GB, free: 6.215 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001985/0.5479, allocations: 115.5 kB / 0.8798 GB, free: 6.098 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.548, allocations: 0 / 0.8798 GB, free: 6.098 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.548, allocations: 0 / 0.8798 GB, free: 6.098 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.548, allocations: 0 / 0.8798 GB, free: 6.098 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000227/0.5482, allocations: 225.5 kB / 0.88 GB, free: 5.828 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.5482, allocations: 0 / 0.88 GB, free: 5.828 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.53e-05/0.5483, allocations: 11.98 kB / 0.88 GB, free: 5.816 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.5483, allocations: 4 kB / 0.88 GB, free: 5.812 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.5483, allocations: 0 / 0.88 GB, free: 5.812 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.5483, allocations: 4.031 kB / 0.88 GB, free: 5.809 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.5483, allocations: 0 / 0.88 GB, free: 5.809 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001935/0.5485, allocations: 191.3 kB / 0.8802 GB, free: 5.605 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.584e-05/0.5486, allocations: 92.83 kB / 0.8803 GB, free: 5.496 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.5486, allocations: 0 / 0.8803 GB, free: 5.496 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.5487, allocations: 8 kB / 0.8803 GB, free: 5.488 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.591e-05/0.5488, allocations: 8.016 kB / 0.8803 GB, free: 5.48 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.5488, allocations: 4 kB / 0.8803 GB, free: 5.477 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001497/0.5489, allocations: 183.1 kB / 0.8805 GB, free: 5.301 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.41e-07/0.5489, allocations: 0 / 0.8805 GB, free: 5.301 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003009/0.5493, allocations: 47.92 kB / 0.8805 GB, free: 5.254 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005641/0.5498, allocations: 0.789 MB / 0.8813 GB, free: 4.441 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000107/0.5499, allocations: 43.92 kB / 0.8813 GB, free: 4.398 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.55, allocations: 4.062 kB / 0.8813 GB, free: 4.395 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.534e-05/0.55, allocations: 20 kB / 0.8814 GB, free: 4.375 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003375/0.5503, allocations: 37.08 kB / 0.8814 GB, free: 4.34 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005605/0.5509, allocations: 285.1 kB / 0.8817 GB, free: 4.027 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/0.5512, allocations: 0.7434 MB / 0.8824 GB, free: 3.258 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.51e-05/0.5513, allocations: 5.438 kB / 0.8824 GB, free: 3.25 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.015e-05/0.5513, allocations: 47.42 kB / 0.8824 GB, free: 3.203 MB / 0.5417 GB Notification: Performance of SimCode: time 3.31e-07/0.5513, allocations: 0 / 0.8824 GB, free: 3.203 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01608/0.5674, allocations: 4.202 MB / 0.8865 GB, free: 15.21 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002257/0.5677, allocations: 169.7 kB / 0.8867 GB, free: 15 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.809/2.376, allocations: 0 / 0.8867 GB, free: 15 MB / 0.5573 GB (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wSor_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wSor.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe 2>&1)