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/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 107.2 kB / 15.99 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 189.2 kB / 16.91 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.21/1.21, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001974/0.001974, allocations: 284.1 kB / 291 MB, free: 14.63 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8784/0.8784, allocations: 169.2 MB / 0.4985 GB, free: 4.742 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00166/0.00166, allocations: 93.92 kB / 0.5953 GB, free: 15.56 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.151, allocations: 86.98 MB / 0.6803 GB, free: 8.594 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor): time 0.002578/0.1536, allocations: 1.773 MB / 0.682 GB, free: 6.797 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006047/0.1542, allocations: 0.4981 MB / 0.6825 GB, free: 6.297 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.824e-05/0.1543, allocations: 0 / 0.6825 GB, free: 6.297 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003558/0.1546, allocations: 151.7 kB / 0.6826 GB, free: 6.148 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.51e-05/0.1547, allocations: 51.73 kB / 0.6827 GB, free: 6.098 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002088/0.1549, allocations: 55.88 kB / 0.6827 GB, free: 6.043 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001236/0.1551, allocations: 99.56 kB / 0.6828 GB, free: 5.945 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.901e-05/0.1551, allocations: 15.88 kB / 0.6828 GB, free: 5.93 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.359e-05/0.1552, allocations: 35.84 kB / 0.6829 GB, free: 5.895 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.964e-05/0.1553, allocations: 67.69 kB / 0.6829 GB, free: 5.828 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.1553, allocations: 4 kB / 0.6829 GB, free: 5.824 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001532/0.1554, allocations: 91.84 kB / 0.683 GB, free: 5.734 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.802e-05/0.1555, allocations: 55.8 kB / 0.6831 GB, free: 5.68 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.24e-05/0.1556, allocations: 59.61 kB / 0.6831 GB, free: 5.621 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001634/0.1557, allocations: 131.7 kB / 0.6833 GB, free: 5.492 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.1558, allocations: 0 / 0.6833 GB, free: 5.492 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1558, allocations: 0 / 0.6833 GB, free: 5.492 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.1558, allocations: 0 / 0.6833 GB, free: 5.492 MB / 494.1 MB 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.0004989/0.1563, allocations: 482.3 kB / 0.6837 GB, free: 4.973 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.1563, allocations: 12.03 kB / 0.6837 GB, free: 4.961 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.495e-05/0.1564, allocations: 20.66 kB / 0.6838 GB, free: 4.941 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.1565, allocations: 223.7 kB / 0.684 GB, free: 4.688 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.207e-06/0.1565, allocations: 4.312 kB / 0.684 GB, free: 4.684 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.163e-06/0.1565, allocations: 384 / 0.684 GB, free: 4.684 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.1567, allocations: 58.23 kB / 0.684 GB, free: 4.621 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.1567, allocations: 7.938 kB / 0.684 GB, free: 4.613 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.705e-06/0.1567, allocations: 3.938 kB / 0.684 GB, free: 4.609 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1567, allocations: 4 kB / 0.684 GB, free: 4.605 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000169/0.1569, allocations: 59.94 kB / 0.6841 GB, free: 4.547 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004123/0.1573, allocations: 332.8 kB / 0.6844 GB, free: 4.172 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.1575, allocations: 70.48 kB / 0.6845 GB, free: 4.094 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.593e-05/0.1576, allocations: 32.91 kB / 0.6845 GB, free: 4.059 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.448e-05/0.1576, allocations: 11.98 kB / 0.6845 GB, free: 4.047 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.1576, allocations: 34.5 kB / 0.6846 GB, free: 4.004 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.1576, allocations: 0 / 0.6846 GB, free: 4.004 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003489/0.158, allocations: 133.4 kB / 0.6847 GB, free: 3.867 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.158, allocations: 51.41 kB / 0.6847 GB, free: 3.805 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002084/0.1583, allocations: 258.7 kB / 0.685 GB, free: 3.551 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.1583, allocations: 25.7 kB / 0.685 GB, free: 3.52 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.738e-05/0.1584, allocations: 132.1 kB / 0.6851 GB, free: 3.387 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.477e-05/0.1584, allocations: 3.906 kB / 0.6851 GB, free: 3.383 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.24e-05/0.1584, allocations: 21.7 kB / 0.6852 GB, free: 3.355 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.1585, allocations: 331 kB / 0.6855 GB, free: 3.023 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.215e-05/0.1586, allocations: 31.97 kB / 0.6855 GB, free: 2.992 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.404e-05/0.1587, allocations: 23.98 kB / 0.6855 GB, free: 2.969 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.1589, allocations: 68.73 kB / 0.6856 GB, free: 2.898 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.1589, allocations: 3.938 kB / 0.6856 GB, free: 2.895 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002035/0.1591, allocations: 113.5 kB / 0.6857 GB, free: 2.777 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.1591, allocations: 4 kB / 0.6857 GB, free: 2.773 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.1591, allocations: 0 / 0.6857 GB, free: 2.773 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.1591, allocations: 4 kB / 0.6857 GB, free: 2.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.776e-05/0.1592, allocations: 7.984 kB / 0.6857 GB, free: 2.762 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.1592, allocations: 0 / 0.6857 GB, free: 2.762 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.958e-05/0.1593, allocations: 11.89 kB / 0.6857 GB, free: 2.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.1593, allocations: 0 / 0.6857 GB, free: 2.75 MB / 494.1 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.809e-05/0.1594, allocations: 141.8 kB / 0.6859 GB, free: 2.602 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.214e-05/0.1594, allocations: 15.81 kB / 0.6859 GB, free: 2.586 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002461/0.1597, allocations: 114.4 kB / 0.686 GB, free: 2.461 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.1597, allocations: 4 kB / 0.686 GB, free: 2.457 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1597, allocations: 0 / 0.686 GB, free: 2.457 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.1597, allocations: 0 / 0.686 GB, free: 2.457 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002039/0.1599, allocations: 229.6 kB / 0.6862 GB, free: 2.184 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1599, allocations: 0 / 0.6862 GB, free: 2.184 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.165e-05/0.16, allocations: 4 kB / 0.6862 GB, free: 2.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.16, allocations: 3.938 kB / 0.6862 GB, free: 2.176 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.088e-06/0.16, allocations: 7.984 kB / 0.6862 GB, free: 2.168 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.16, allocations: 0 / 0.6862 GB, free: 2.168 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.16, allocations: 0 / 0.6862 GB, free: 2.168 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002442/0.1603, allocations: 211.1 kB / 0.6864 GB, free: 1.945 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.204e-05/0.1603, allocations: 88.92 kB / 0.6865 GB, free: 1.84 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/0.1604, allocations: 3.984 kB / 0.6865 GB, free: 1.836 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.576e-05/0.1604, allocations: 4 kB / 0.6865 GB, free: 1.832 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.297e-05/0.1605, allocations: 7.984 kB / 0.6865 GB, free: 1.824 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-06/0.1605, allocations: 0 / 0.6865 GB, free: 1.824 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001416/0.1606, allocations: 186 kB / 0.6867 GB, free: 1.648 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1606, allocations: 0 / 0.6867 GB, free: 1.648 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002507/0.1609, allocations: 43.97 kB / 0.6868 GB, free: 1.605 MB / 494.1 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001749/0.1611, allocations: 127.2 kB / 0.6869 GB, free: 1.473 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002069/0.1613, allocations: 59.95 kB / 0.6869 GB, free: 1.414 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.698e-06/0.1613, allocations: 4 kB / 0.6869 GB, free: 1.41 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.031e-05/0.1614, allocations: 35.91 kB / 0.687 GB, free: 1.375 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004165/0.1618, allocations: 44.47 kB / 0.687 GB, free: 1.332 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005018/0.1623, allocations: 408 kB / 0.6874 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002753/0.1626, allocations: 0.7353 MB / 0.6881 GB, free: 144 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.191e-05/0.1627, allocations: 7.438 kB / 0.6881 GB, free: 136 kB / 494.1 MB Notification: Performance of SimCode: time 2.244e-06/0.1627, allocations: 0 / 0.6881 GB, free: 136 kB / 494.1 MB Notification: Performance of Templates: time 0.2265/0.3891, allocations: 1.85 MB / 0.6899 GB, free: 15.67 MB / 494.1 MB 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)