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.00126/0.00126, allocations: 105.9 kB / 16.27 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.001212/0.001212, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.24/1.24, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002087/0.002087, allocations: 290.6 kB / 291.3 MB, free: 14.55 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8727/0.8727, allocations: 169.3 MB / 0.4988 GB, free: 4.504 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001735/0.001735, allocations: 96.72 kB / 0.5959 GB, free: 15.14 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1534, allocations: 86.97 MB / 0.6808 GB, free: 8.176 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi): time 0.002936/0.1564, allocations: 1.708 MB / 0.6825 GB, free: 6.445 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001366/0.1577, allocations: 1.001 MB / 0.6835 GB, free: 5.441 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.639e-05/0.1578, allocations: 0 / 0.6835 GB, free: 5.441 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00042/0.1583, allocations: 139.8 kB / 0.6836 GB, free: 5.305 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.557e-05/0.1584, allocations: 55.67 kB / 0.6837 GB, free: 5.25 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003367/0.1587, allocations: 103.6 kB / 0.6838 GB, free: 5.148 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000142/0.1589, allocations: 107.5 kB / 0.6839 GB, free: 5.043 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.416e-05/0.1589, allocations: 11.94 kB / 0.6839 GB, free: 5.031 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.339e-05/0.159, allocations: 35.78 kB / 0.6839 GB, free: 4.996 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.318e-05/0.1591, allocations: 55.7 kB / 0.684 GB, free: 4.941 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.1591, allocations: 0 / 0.684 GB, free: 4.941 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002685/0.1594, allocations: 143.8 kB / 0.6841 GB, free: 4.801 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.708e-05/0.1595, allocations: 55.84 kB / 0.6842 GB, free: 4.746 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.752e-05/0.1596, allocations: 63.56 kB / 0.6842 GB, free: 4.684 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000319/0.1599, allocations: 243.2 kB / 0.6845 GB, free: 4.445 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.1599, allocations: 0 / 0.6845 GB, free: 4.445 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1599, allocations: 0 / 0.6845 GB, free: 4.445 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.958e-06/0.1599, allocations: 4 kB / 0.6845 GB, free: 4.441 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.0005448/0.1605, allocations: 490.2 kB / 0.6849 GB, free: 3.914 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.1605, allocations: 12.03 kB / 0.6849 GB, free: 3.902 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.309e-05/0.1606, allocations: 20.66 kB / 0.685 GB, free: 3.883 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.1607, allocations: 219.7 kB / 0.6852 GB, free: 3.633 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.1607, allocations: 384 / 0.6852 GB, free: 3.633 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.1607, allocations: 384 / 0.6852 GB, free: 3.633 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.1609, allocations: 65.73 kB / 0.6852 GB, free: 3.562 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.1609, allocations: 4 kB / 0.6852 GB, free: 3.559 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.161, allocations: 0 / 0.6852 GB, free: 3.559 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.161, allocations: 4 kB / 0.6852 GB, free: 3.555 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001854/0.1612, allocations: 59.94 kB / 0.6853 GB, free: 3.496 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004361/0.1616, allocations: 332.8 kB / 0.6856 GB, free: 3.121 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.1617, allocations: 70.48 kB / 0.6857 GB, free: 3.043 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.386e-05/0.1619, allocations: 40.83 kB / 0.6857 GB, free: 3 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.866e-05/0.1619, allocations: 8 kB / 0.6857 GB, free: 2.992 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.1619, allocations: 30.56 kB / 0.6858 GB, free: 2.953 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 3.076e-06/0.1619, allocations: 3.984 kB / 0.6858 GB, free: 2.949 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003952/0.1623, allocations: 137.4 kB / 0.6859 GB, free: 2.809 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.1624, allocations: 51.41 kB / 0.6859 GB, free: 2.746 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002266/0.1626, allocations: 258.7 kB / 0.6862 GB, free: 2.492 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.1626, allocations: 29.64 kB / 0.6862 GB, free: 2.457 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.826e-05/0.1627, allocations: 144 kB / 0.6863 GB, free: 2.312 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.465e-05/0.1627, allocations: 3.938 kB / 0.6864 GB, free: 2.309 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.25e-05/0.1628, allocations: 13.72 kB / 0.6864 GB, free: 2.289 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.1629, allocations: 338.9 kB / 0.6867 GB, free: 1.949 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.161e-05/0.163, allocations: 27.98 kB / 0.6867 GB, free: 1.922 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.338e-05/0.1631, allocations: 31.97 kB / 0.6867 GB, free: 1.891 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/0.1633, allocations: 60.81 kB / 0.6868 GB, free: 1.828 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1633, allocations: 0 / 0.6868 GB, free: 1.828 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000221/0.1635, allocations: 113.4 kB / 0.6869 GB, free: 1.711 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.1635, allocations: 6.344 kB / 0.6869 GB, free: 1.707 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.1635, allocations: 4 kB / 0.6869 GB, free: 1.703 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.1635, allocations: 0 / 0.6869 GB, free: 1.703 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.247e-05/0.1636, allocations: 7.938 kB / 0.6869 GB, free: 1.695 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.1636, allocations: 3.984 kB / 0.6869 GB, free: 1.691 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.256e-05/0.1637, allocations: 8 kB / 0.6869 GB, free: 1.684 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.852e-06/0.1637, allocations: 8.031 kB / 0.6869 GB, free: 1.676 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.52e-05/0.1638, allocations: 133.8 kB / 0.6871 GB, free: 1.535 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.41e-05/0.1639, allocations: 19.81 kB / 0.6871 GB, free: 1.516 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002667/0.1641, allocations: 118.4 kB / 0.6872 GB, free: 1.387 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.1641, allocations: 0 / 0.6872 GB, free: 1.387 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1642, allocations: 0 / 0.6872 GB, free: 1.387 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1642, allocations: 0 / 0.6872 GB, free: 1.387 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002014/0.1644, allocations: 225.6 kB / 0.6874 GB, free: 1.117 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1644, allocations: 4 kB / 0.6874 GB, free: 1.113 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.668e-05/0.1644, allocations: 11.98 kB / 0.6874 GB, free: 1.102 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1645, allocations: 0 / 0.6874 GB, free: 1.102 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-06/0.1645, allocations: 0 / 0.6874 GB, free: 1.102 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.1645, allocations: 3.938 kB / 0.6874 GB, free: 1.098 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1645, allocations: 0 / 0.6874 GB, free: 1.098 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002668/0.1648, allocations: 211.2 kB / 0.6876 GB, free: 0.875 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.635e-05/0.1648, allocations: 92.83 kB / 0.6877 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/0.1648, allocations: 0 / 0.6877 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.989e-05/0.1649, allocations: 7.984 kB / 0.6877 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.188e-05/0.165, allocations: 0 / 0.6877 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/0.165, allocations: 7.938 kB / 0.6877 GB, free: 0.75 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001546/0.1651, allocations: 193.9 kB / 0.6879 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1651, allocations: 0 / 0.6879 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002786/0.1654, allocations: 51.97 kB / 0.688 GB, free: 0.5117 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.0002118/0.1656, allocations: 155.1 kB / 0.6881 GB, free: 360 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002273/0.1659, allocations: 63.89 kB / 0.6882 GB, free: 296 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1659, allocations: 0 / 0.6882 GB, free: 296 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.305e-05/0.166, allocations: 27.98 kB / 0.6882 GB, free: 268 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004282/0.1664, allocations: 46.08 kB / 0.6883 GB, free: 224 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2284/0.3948, allocations: 370.1 kB / 0.6886 GB, free: 18.16 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001967/0.3951, allocations: 0.7336 MB / 0.6893 GB, free: 17.47 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.553e-05/0.3951, allocations: 13.72 kB / 0.6893 GB, free: 17.46 MB / 494.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3951, allocations: 0 / 0.6893 GB, free: 17.46 MB / 494.1 MB Notification: Performance of Templates: time 0.004161/0.3993, allocations: 1.964 MB / 0.6913 GB, free: 17.38 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe 2>&1)