Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.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.wDerPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 103 kB / 16.35 MB, free: 5.828 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.001054/0.001054, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.274/1.274, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002065/0.002065, allocations: 289.2 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9034/0.9034, allocations: 169.3 MB / 0.4989 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001656/0.001656, allocations: 95.42 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.157, allocations: 86.96 MB / 0.6816 GB, free: 7.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi): time 0.002594/0.1596, allocations: 1.704 MB / 0.6833 GB, free: 5.742 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.1608, allocations: 1.005 MB / 0.6842 GB, free: 4.734 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.968e-05/0.1608, allocations: 0 / 0.6842 GB, free: 4.734 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003296/0.1612, allocations: 143.5 kB / 0.6844 GB, free: 4.594 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.687e-05/0.1612, allocations: 55.67 kB / 0.6844 GB, free: 4.539 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003008/0.1615, allocations: 111.6 kB / 0.6845 GB, free: 4.43 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001207/0.1617, allocations: 107.4 kB / 0.6846 GB, free: 4.324 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.332e-05/0.1617, allocations: 7.938 kB / 0.6846 GB, free: 4.316 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.455e-05/0.1618, allocations: 43.78 kB / 0.6847 GB, free: 4.273 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.498e-05/0.1619, allocations: 43.78 kB / 0.6847 GB, free: 4.23 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/0.1619, allocations: 7.938 kB / 0.6847 GB, free: 4.223 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002346/0.1621, allocations: 147.7 kB / 0.6849 GB, free: 4.078 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.831e-05/0.1622, allocations: 59.84 kB / 0.6849 GB, free: 4.02 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.691e-05/0.1623, allocations: 63.56 kB / 0.685 GB, free: 3.957 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002758/0.1626, allocations: 235.2 kB / 0.6852 GB, free: 3.727 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1626, allocations: 0 / 0.6852 GB, free: 3.727 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1626, allocations: 0 / 0.6852 GB, free: 3.727 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.1626, allocations: 0 / 0.6852 GB, free: 3.727 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.0005116/0.1631, allocations: 494.2 kB / 0.6857 GB, free: 3.195 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.908e-05/0.1631, allocations: 12.03 kB / 0.6857 GB, free: 3.184 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.603e-05/0.1632, allocations: 20.66 kB / 0.6857 GB, free: 3.164 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.1633, allocations: 219.6 kB / 0.6859 GB, free: 2.914 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-06/0.1633, allocations: 4.375 kB / 0.6859 GB, free: 2.91 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.1634, allocations: 384 / 0.6859 GB, free: 2.91 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.1635, allocations: 65.8 kB / 0.686 GB, free: 2.84 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.791e-06/0.1635, allocations: 0 / 0.686 GB, free: 2.84 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.692e-06/0.1636, allocations: 0 / 0.686 GB, free: 2.84 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.1636, allocations: 7.984 kB / 0.686 GB, free: 2.832 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001644/0.1637, allocations: 63.94 kB / 0.6861 GB, free: 2.77 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004031/0.1642, allocations: 328.8 kB / 0.6864 GB, free: 2.398 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/0.1643, allocations: 66.48 kB / 0.6864 GB, free: 2.324 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.466e-05/0.1644, allocations: 36.89 kB / 0.6865 GB, free: 2.285 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.841e-05/0.1644, allocations: 16 kB / 0.6865 GB, free: 2.27 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.1645, allocations: 30.56 kB / 0.6865 GB, free: 2.23 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.1645, allocations: 0 / 0.6865 GB, free: 2.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003449/0.1648, allocations: 137.4 kB / 0.6866 GB, free: 2.09 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/0.1648, allocations: 51.41 kB / 0.6867 GB, free: 2.027 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002141/0.1651, allocations: 258.8 kB / 0.6869 GB, free: 1.773 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.1651, allocations: 29.7 kB / 0.687 GB, free: 1.738 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.225e-05/0.1652, allocations: 144 kB / 0.6871 GB, free: 1.594 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.379e-05/0.1652, allocations: 4 kB / 0.6871 GB, free: 1.59 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.888e-05/0.1652, allocations: 13.72 kB / 0.6871 GB, free: 1.57 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.1653, allocations: 334.8 kB / 0.6874 GB, free: 1.234 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.1654, allocations: 27.98 kB / 0.6875 GB, free: 1.207 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.96e-05/0.1655, allocations: 35.97 kB / 0.6875 GB, free: 1.172 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.1657, allocations: 60.81 kB / 0.6876 GB, free: 1.109 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1657, allocations: 0 / 0.6876 GB, free: 1.109 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002019/0.1659, allocations: 113.3 kB / 0.6877 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.1659, allocations: 6.344 kB / 0.6877 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1659, allocations: 7.938 kB / 0.6877 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.166, allocations: 4.094 kB / 0.6877 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.452e-05/0.166, allocations: 8 kB / 0.6877 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.166, allocations: 0 / 0.6877 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.072e-05/0.1661, allocations: 7.984 kB / 0.6877 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.1661, allocations: 4 kB / 0.6877 GB, free: 0.957 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 9.304e-05/0.1662, allocations: 137.8 kB / 0.6878 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.191e-05/0.1663, allocations: 15.81 kB / 0.6879 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002582/0.1665, allocations: 126.4 kB / 0.688 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.1665, allocations: 0 / 0.688 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.1665, allocations: 3.938 kB / 0.688 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.1665, allocations: 0 / 0.688 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001963/0.1667, allocations: 221.5 kB / 0.6882 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1668, allocations: 0 / 0.6882 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.561e-05/0.1668, allocations: 11.98 kB / 0.6882 GB, free: 388 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1668, allocations: 0 / 0.6882 GB, free: 388 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.1668, allocations: 0 / 0.6882 GB, free: 388 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1668, allocations: 4.031 kB / 0.6882 GB, free: 384 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.1668, allocations: 0 / 0.6882 GB, free: 384 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002403/0.1671, allocations: 203.2 kB / 0.6884 GB, free: 164 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.899e-05/0.1671, allocations: 92.83 kB / 0.6885 GB, free: 52 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.1672, allocations: 0 / 0.6885 GB, free: 52 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.763e-05/0.1673, allocations: 11.98 kB / 0.6885 GB, free: 40 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.324e-05/0.1673, allocations: 4.031 kB / 0.6885 GB, free: 36 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.1673, allocations: 4 kB / 0.6885 GB, free: 32 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.2393/0.4066, allocations: 183.8 kB / 0.6887 GB, free: 18.25 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.723e-06/0.4067, allocations: 3.719 kB / 0.6887 GB, free: 18.25 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004378/0.4071, allocations: 59.17 kB / 0.6887 GB, free: 18.25 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.0002736/0.4074, allocations: 143.3 kB / 0.6889 GB, free: 18.16 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002831/0.4077, allocations: 63.19 kB / 0.6889 GB, free: 18.16 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.4077, allocations: 0.9375 kB / 0.6889 GB, free: 18.16 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001002/0.4078, allocations: 30.38 kB / 0.689 GB, free: 18.16 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004511/0.4083, allocations: 50.91 kB / 0.689 GB, free: 18.16 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006356/0.4089, allocations: 332.8 kB / 0.6893 GB, free: 18 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001885/0.4091, allocations: 0.7365 MB / 0.6901 GB, free: 17.31 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.418e-05/0.4092, allocations: 8.5 kB / 0.6901 GB, free: 17.31 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.08e-05/0.4092, allocations: 9.5 kB / 0.6901 GB, free: 17.3 MB / 494.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4092, allocations: 0 / 0.6901 GB, free: 17.3 MB / 494.1 MB Notification: Performance of Templates: time 0.005266/0.4145, allocations: 1.941 MB / 0.692 GB, free: 17.24 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.makefile (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe 2>&1)