Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.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.myPhiMoist,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_myPhiMoist",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_myPhiMoist",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.7508/0.7508, allocations: 141.7 MB / 154.3 MB, free: 15.48 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.001085/0.001085, allocations: 188.8 kB / 187.3 MB, free: 11.87 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.393/1.393, 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.0008756/0.0008756, allocations: 101.1 kB / 0.5124 GB, free: 24.16 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001776/0.001776, allocations: 275.3 kB / 0.5939 GB, free: 7.934 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.159e-05/4.161e-05, allocations: 7.984 kB / 0.6835 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.43/0.4301, allocations: 82.77 MB / 0.7644 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1205/0.5507, allocations: 110.4 MB / 0.8722 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002554/0.551, allocations: 84.72 kB / 0.8723 GB, free: 13.99 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01156/0.5626, allocations: 4.81 MB / 0.877 GB, free: 9.113 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.854e-06/0.5626, allocations: 3.938 kB / 0.877 GB, free: 9.109 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.5626, allocations: 0 / 0.877 GB, free: 9.109 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.0004299/0.5631, allocations: 430 kB / 0.8774 GB, free: 8.645 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.5631, allocations: 12.02 kB / 0.8774 GB, free: 8.633 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.918e-05/0.5632, allocations: 30.56 kB / 0.8774 GB, free: 8.594 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.583e-05/0.5632, allocations: 19.72 kB / 0.8775 GB, free: 8.574 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.5634, allocations: 210.6 kB / 0.8777 GB, free: 8.332 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.5634, allocations: 0 / 0.8777 GB, free: 8.332 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.5634, allocations: 4 kB / 0.8777 GB, free: 8.328 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.5635, allocations: 41.69 kB / 0.8777 GB, free: 8.281 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.5636, allocations: 3.938 kB / 0.8777 GB, free: 8.277 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.5636, allocations: 0 / 0.8777 GB, free: 8.277 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.5636, allocations: 4 kB / 0.8777 GB, free: 8.273 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.706e-05/0.5636, allocations: 15.98 kB / 0.8777 GB, free: 8.258 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000488/0.5641, allocations: 324.8 kB / 0.878 GB, free: 7.891 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 7.297e-05/0.5642, allocations: 38.55 kB / 0.8781 GB, free: 7.844 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.126e-05/0.5643, allocations: 16.92 kB / 0.8781 GB, free: 7.824 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 3.766e-05/0.5643, allocations: 0 / 0.8781 GB, free: 7.824 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.5643, allocations: 42.5 kB / 0.8781 GB, free: 7.773 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.5643, allocations: 0 / 0.8781 GB, free: 7.773 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0001758/0.5645, allocations: 69.41 kB / 0.8782 GB, free: 7.699 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.5646, allocations: 51.41 kB / 0.8783 GB, free: 7.637 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002246/0.5648, allocations: 227.1 kB / 0.8785 GB, free: 7.406 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.5648, allocations: 25.7 kB / 0.8785 GB, free: 7.375 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 9.535e-05/0.5649, allocations: 132.1 kB / 0.8786 GB, free: 7.242 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.775e-05/0.5649, allocations: 3.906 kB / 0.8786 GB, free: 7.238 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-06/0.565, allocations: 7.938 kB / 0.8786 GB, free: 7.23 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.5651, allocations: 342.8 kB / 0.879 GB, free: 6.887 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.143e-05/0.5651, allocations: 4 kB / 0.879 GB, free: 6.883 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.159e-05/0.5652, allocations: 15.98 kB / 0.879 GB, free: 6.867 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.395e-05/0.5652, allocations: 7.938 kB / 0.879 GB, free: 6.859 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.5652, allocations: 3.938 kB / 0.879 GB, free: 6.855 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.629e-05/0.5653, allocations: 69.5 kB / 0.8791 GB, free: 6.781 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.5653, allocations: 4 kB / 0.8791 GB, free: 6.777 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.5653, allocations: 0 / 0.8791 GB, free: 6.777 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.5653, allocations: 4.094 kB / 0.8791 GB, free: 6.773 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.807e-05/0.5654, allocations: 15.98 kB / 0.8791 GB, free: 6.758 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.5655, allocations: 2.422 kB / 0.8791 GB, free: 6.758 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.996e-05/0.5655, allocations: 7.984 kB / 0.8791 GB, free: 6.75 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.662e-05/0.5656, allocations: 4 kB / 0.8791 GB, free: 6.746 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 6.005e-05/0.5656, allocations: 104.9 kB / 0.8792 GB, free: 6.637 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.42e-05/0.5657, allocations: 19.72 kB / 0.8792 GB, free: 6.617 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001464/0.5658, allocations: 82.48 kB / 0.8793 GB, free: 6.531 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.5658, allocations: 3.984 kB / 0.8793 GB, free: 6.527 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.5658, allocations: 0 / 0.8793 GB, free: 6.527 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.5658, allocations: 0 / 0.8793 GB, free: 6.527 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00019/0.566, allocations: 209.6 kB / 0.8795 GB, free: 6.273 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.566, allocations: 0 / 0.8795 GB, free: 6.273 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.673e-05/0.5661, allocations: 19.98 kB / 0.8795 GB, free: 6.254 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.5661, allocations: 0 / 0.8795 GB, free: 6.254 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.5661, allocations: 4.031 kB / 0.8795 GB, free: 6.25 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.5661, allocations: 0 / 0.8795 GB, free: 6.25 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.5662, allocations: 0 / 0.8795 GB, free: 6.25 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001418/0.5663, allocations: 167.4 kB / 0.8797 GB, free: 6.07 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.35e-05/0.5664, allocations: 96.77 kB / 0.8798 GB, free: 5.957 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/0.5664, allocations: 3.984 kB / 0.8798 GB, free: 5.953 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.694e-05/0.5665, allocations: 12.03 kB / 0.8798 GB, free: 5.941 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.325e-05/0.5665, allocations: 3.984 kB / 0.8798 GB, free: 5.938 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.5666, allocations: 4 kB / 0.8798 GB, free: 5.934 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001537/0.5667, allocations: 183.1 kB / 0.88 GB, free: 5.758 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5667, allocations: 0 / 0.88 GB, free: 5.758 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002349/0.567, allocations: 47.92 kB / 0.88 GB, free: 5.711 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.0004818/0.5674, allocations: 0.7576 MB / 0.8807 GB, free: 4.93 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 8.692e-05/0.5675, allocations: 23.94 kB / 0.8808 GB, free: 4.906 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.5676, allocations: 4.094 kB / 0.8808 GB, free: 4.902 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.541e-05/0.5676, allocations: 12 kB / 0.8808 GB, free: 4.891 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002971/0.5679, allocations: 36.52 kB / 0.8808 GB, free: 4.855 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005378/0.5684, allocations: 285.1 kB / 0.8811 GB, free: 4.543 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/0.5687, allocations: 0.7394 MB / 0.8818 GB, free: 3.777 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.016e-05/0.5688, allocations: 4.188 kB / 0.8818 GB, free: 3.77 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.862e-05/0.5688, allocations: 43.42 kB / 0.8819 GB, free: 3.727 MB / 0.5417 GB Notification: Performance of SimCode: time 2.4e-07/0.5688, allocations: 0 / 0.8819 GB, free: 3.727 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0157/0.5846, allocations: 4.173 MB / 0.8859 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002288/0.5848, allocations: 192.9 kB / 0.8861 GB, free: 15.54 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.798/2.383, allocations: 1.719 kB / 0.8861 GB, free: 15.54 MB / 0.5573 GB (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_myPhiMoist_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_myPhiMoist.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe 2>&1)