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: translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8836/0.8836, 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.001065/0.001065, allocations: 188.1 kB / 187.3 MB, free: 11.88 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.517/1.517, 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.0008818/0.0008818, allocations: 91.12 kB / 0.5124 GB, free: 24.25 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001926/0.001926, allocations: 276.8 kB / 0.5939 GB, free: 7.984 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.344e-05/3.346e-05, allocations: 7.938 kB / 0.6834 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4836/0.4836, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1309/0.6145, allocations: 110.6 MB / 0.8723 GB, free: 13.96 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002132/0.6148, allocations: 87.77 kB / 0.8724 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.0118/0.6266, allocations: 4.913 MB / 0.8772 GB, free: 8.898 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.074e-06/0.6267, allocations: 0 / 0.8772 GB, free: 8.898 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.395e-06/0.6267, allocations: 3.938 kB / 0.8772 GB, free: 8.895 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.0004894/0.6272, allocations: 435.2 kB / 0.8776 GB, free: 8.426 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.781e-05/0.6272, allocations: 8.031 kB / 0.8776 GB, free: 8.418 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.159e-05/0.6273, allocations: 19.72 kB / 0.8776 GB, free: 8.398 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/0.6275, allocations: 214.6 kB / 0.8778 GB, free: 8.152 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.6275, allocations: 4 kB / 0.8778 GB, free: 8.148 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.6276, allocations: 0 / 0.8778 GB, free: 8.148 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.6277, allocations: 53.67 kB / 0.8779 GB, free: 8.09 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.6277, allocations: 3.938 kB / 0.8779 GB, free: 8.086 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.6278, allocations: 4 kB / 0.8779 GB, free: 8.082 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.6278, allocations: 3.984 kB / 0.8779 GB, free: 8.078 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.106e-05/0.6279, allocations: 43.95 kB / 0.8779 GB, free: 8.035 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000552/0.6284, allocations: 340.8 kB / 0.8783 GB, free: 7.652 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 9.657e-05/0.6285, allocations: 54.55 kB / 0.8783 GB, free: 7.59 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.838e-05/0.6286, allocations: 28.91 kB / 0.8783 GB, free: 7.559 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.97e-05/0.6286, allocations: 11.98 kB / 0.8783 GB, free: 7.547 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.6287, allocations: 34.5 kB / 0.8784 GB, free: 7.504 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.6287, allocations: 8 kB / 0.8784 GB, free: 7.496 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0002866/0.629, allocations: 89.39 kB / 0.8785 GB, free: 7.402 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.629, allocations: 51.41 kB / 0.8785 GB, free: 7.34 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000215/0.6293, allocations: 227.1 kB / 0.8787 GB, free: 7.109 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.6293, allocations: 25.7 kB / 0.8788 GB, free: 7.078 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 9.286e-05/0.6294, allocations: 136.1 kB / 0.8789 GB, free: 6.941 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.639e-05/0.6294, allocations: 3.906 kB / 0.8789 GB, free: 6.938 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/0.6294, allocations: 0 / 0.8789 GB, free: 6.938 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.6295, allocations: 342.8 kB / 0.8792 GB, free: 6.594 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.991e-05/0.6296, allocations: 23.98 kB / 0.8792 GB, free: 6.57 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.189e-05/0.6296, allocations: 19.98 kB / 0.8793 GB, free: 6.551 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.138e-05/0.6297, allocations: 23.92 kB / 0.8793 GB, free: 6.527 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.6297, allocations: 0 / 0.8793 GB, free: 6.527 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001282/0.6298, allocations: 97.41 kB / 0.8794 GB, free: 6.426 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.6298, allocations: 4 kB / 0.8794 GB, free: 6.422 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.6299, allocations: 0 / 0.8794 GB, free: 6.422 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.6299, allocations: 4.094 kB / 0.8794 GB, free: 6.418 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.63, allocations: 15.98 kB / 0.8794 GB, free: 6.402 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.63, allocations: 0 / 0.8794 GB, free: 6.402 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.808e-05/0.6301, allocations: 4 kB / 0.8794 GB, free: 6.398 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/0.6301, allocations: 4 kB / 0.8794 GB, free: 6.395 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.61e-05/0.6302, allocations: 108.9 kB / 0.8795 GB, free: 6.281 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.563e-05/0.6302, allocations: 19.72 kB / 0.8795 GB, free: 6.262 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002072/0.6304, allocations: 118.5 kB / 0.8796 GB, free: 6.141 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.6304, allocations: 0 / 0.8796 GB, free: 6.141 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.6304, allocations: 3.938 kB / 0.8797 GB, free: 6.137 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.6305, allocations: 0 / 0.8797 GB, free: 6.137 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002194/0.6307, allocations: 217.6 kB / 0.8799 GB, free: 5.875 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.6307, allocations: 0 / 0.8799 GB, free: 5.875 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.978e-05/0.6308, allocations: 15.98 kB / 0.8799 GB, free: 5.859 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.6308, allocations: 0 / 0.8799 GB, free: 5.859 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.6308, allocations: 0 / 0.8799 GB, free: 5.859 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.6308, allocations: 4.031 kB / 0.8799 GB, free: 5.855 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.6308, allocations: 4 kB / 0.8799 GB, free: 5.852 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001696/0.631, allocations: 191.3 kB / 0.8801 GB, free: 5.648 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.267e-05/0.631, allocations: 92.83 kB / 0.8802 GB, free: 5.539 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/0.6311, allocations: 4 kB / 0.8802 GB, free: 5.535 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.6312, allocations: 11.98 kB / 0.8802 GB, free: 5.523 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.657e-05/0.6312, allocations: 8.031 kB / 0.8802 GB, free: 5.516 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.6312, allocations: 0 / 0.8802 GB, free: 5.516 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001561/0.6314, allocations: 191.1 kB / 0.8804 GB, free: 5.332 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6314, allocations: 0 / 0.8804 GB, free: 5.332 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000254/0.6317, allocations: 39.94 kB / 0.8804 GB, free: 5.293 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.000251/0.6319, allocations: 163 kB / 0.8806 GB, free: 5.125 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001057/0.632, allocations: 43.98 kB / 0.8806 GB, free: 5.082 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.632, allocations: 0 / 0.8806 GB, free: 5.082 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.645e-05/0.6321, allocations: 23.94 kB / 0.8806 GB, free: 5.059 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.6324, allocations: 52.53 kB / 0.8807 GB, free: 5.008 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004154/0.6328, allocations: 214.2 kB / 0.8809 GB, free: 4.777 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/0.6331, allocations: 0.7433 MB / 0.8816 GB, free: 4.008 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.77e-05/0.6332, allocations: 14.2 kB / 0.8816 GB, free: 3.992 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.134e-05/0.6332, allocations: 7.438 kB / 0.8816 GB, free: 3.984 MB / 0.5417 GB Notification: Performance of SimCode: time 3.61e-07/0.6332, allocations: 0 / 0.8816 GB, free: 3.984 MB / 0.5417 GB Notification: Performance of Templates: time 0.005111/0.6383, allocations: 2.176 MB / 0.8837 GB, free: 1.84 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.makefile (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 & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe 2>&1)