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: "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wDerPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wDerPhi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 189.5 kB / 16.62 MB, free: 6.582 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.243/1.243, allocations: 222.9 MB / 240.3 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002097/0.002097, allocations: 279 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9053/0.9053, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001608/0.001608, allocations: 92.73 kB / 0.5955 GB, free: 27.86 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1586, allocations: 86.98 MB / 0.6804 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi): time 0.002653/0.1613, allocations: 1.709 MB / 0.6821 GB, free: 14.78 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001344/0.1627, allocations: 1.001 MB / 0.6831 GB, free: 13.78 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.67e-05/0.1627, allocations: 0 / 0.6831 GB, free: 13.78 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003871/0.1631, allocations: 147.7 kB / 0.6832 GB, free: 13.63 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.858e-05/0.1632, allocations: 55.67 kB / 0.6833 GB, free: 13.58 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002914/0.1635, allocations: 103.6 kB / 0.6834 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.1637, allocations: 103.5 kB / 0.6835 GB, free: 13.38 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.61e-05/0.1637, allocations: 11.98 kB / 0.6835 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.785e-05/0.1638, allocations: 35.8 kB / 0.6835 GB, free: 13.33 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.302e-05/0.1639, allocations: 59.62 kB / 0.6836 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.1639, allocations: 4 kB / 0.6836 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002397/0.1641, allocations: 143.8 kB / 0.6837 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.977e-05/0.1642, allocations: 51.88 kB / 0.6838 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.663e-05/0.1643, allocations: 67.48 kB / 0.6838 GB, free: 13.01 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002728/0.1646, allocations: 239.2 kB / 0.6841 GB, free: 12.77 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1646, allocations: 4 kB / 0.6841 GB, free: 12.77 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1646, allocations: 4 kB / 0.6841 GB, free: 12.77 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.1646, allocations: 3.984 kB / 0.6841 GB, free: 12.76 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.000542/0.1651, allocations: 494.1 kB / 0.6846 GB, free: 12.23 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.1652, allocations: 12.03 kB / 0.6846 GB, free: 12.22 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.836e-05/0.1652, allocations: 30.75 kB / 0.6846 GB, free: 12.18 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.036e-05/0.1653, allocations: 16.75 kB / 0.6846 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.1654, allocations: 223.6 kB / 0.6848 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.1654, allocations: 384 / 0.6848 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.1654, allocations: 4.375 kB / 0.6848 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.1656, allocations: 65.61 kB / 0.6849 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.1656, allocations: 0 / 0.6849 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.1656, allocations: 4 kB / 0.6849 GB, free: 11.83 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1656, allocations: 0 / 0.6849 GB, free: 11.83 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001711/0.1658, allocations: 55.94 kB / 0.6849 GB, free: 11.78 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004089/0.1662, allocations: 336.8 kB / 0.6853 GB, free: 11.4 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/0.1664, allocations: 66.48 kB / 0.6853 GB, free: 11.32 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.92e-05/0.1665, allocations: 32.89 kB / 0.6854 GB, free: 11.29 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.563e-05/0.1665, allocations: 8 kB / 0.6854 GB, free: 11.28 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.1666, allocations: 34.56 kB / 0.6854 GB, free: 11.24 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 2.445e-06/0.1666, allocations: 11.98 kB / 0.6854 GB, free: 11.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003633/0.1669, allocations: 133.3 kB / 0.6855 GB, free: 11.09 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.167, allocations: 55.34 kB / 0.6856 GB, free: 11.02 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002102/0.1672, allocations: 258.6 kB / 0.6858 GB, free: 10.77 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.1672, allocations: 33.7 kB / 0.6859 GB, free: 10.73 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.694e-05/0.1673, allocations: 132.2 kB / 0.686 GB, free: 10.59 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.481e-05/0.1673, allocations: 7.906 kB / 0.686 GB, free: 10.59 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.933e-05/0.1673, allocations: 17.72 kB / 0.686 GB, free: 10.56 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.1675, allocations: 338.8 kB / 0.6863 GB, free: 10.22 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.063e-05/0.1675, allocations: 23.98 kB / 0.6864 GB, free: 10.2 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.792e-05/0.1676, allocations: 31.97 kB / 0.6864 GB, free: 10.17 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.1678, allocations: 64.88 kB / 0.6865 GB, free: 10.1 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1678, allocations: 0 / 0.6865 GB, free: 10.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002147/0.168, allocations: 105.4 kB / 0.6866 GB, free: 9.992 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.168, allocations: 8 kB / 0.6866 GB, free: 9.984 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.1681, allocations: 3.938 kB / 0.6866 GB, free: 9.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.1681, allocations: 3.984 kB / 0.6866 GB, free: 9.977 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.668e-05/0.1682, allocations: 8 kB / 0.6866 GB, free: 9.969 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.868e-06/0.1682, allocations: 4.031 kB / 0.6866 GB, free: 9.965 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.359e-05/0.1682, allocations: 11.98 kB / 0.6866 GB, free: 9.953 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.1682, allocations: 0 / 0.6866 GB, free: 9.953 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.471e-05/0.1683, allocations: 139.1 kB / 0.6867 GB, free: 9.809 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.371e-05/0.1684, allocations: 23.72 kB / 0.6868 GB, free: 9.785 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002481/0.1686, allocations: 106.5 kB / 0.6869 GB, free: 9.668 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1686, allocations: 4.031 kB / 0.6869 GB, free: 9.664 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.1686, allocations: 0 / 0.6869 GB, free: 9.664 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.1687, allocations: 3.984 kB / 0.6869 GB, free: 9.66 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001892/0.1688, allocations: 217.6 kB / 0.6871 GB, free: 9.398 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1689, allocations: 4 kB / 0.6871 GB, free: 9.395 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.468e-05/0.1689, allocations: 11.92 kB / 0.6871 GB, free: 9.383 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1689, allocations: 0 / 0.6871 GB, free: 9.383 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.1689, allocations: 0 / 0.6871 GB, free: 9.383 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.1689, allocations: 4 kB / 0.6871 GB, free: 9.379 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1689, allocations: 0 / 0.6871 GB, free: 9.379 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002374/0.1692, allocations: 207.2 kB / 0.6873 GB, free: 9.16 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.352e-05/0.1692, allocations: 92.83 kB / 0.6874 GB, free: 9.051 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.1693, allocations: 0 / 0.6874 GB, free: 9.051 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.042e-05/0.1694, allocations: 7.984 kB / 0.6874 GB, free: 9.043 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.923e-05/0.1694, allocations: 4 kB / 0.6874 GB, free: 9.039 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.1694, allocations: 3.938 kB / 0.6874 GB, free: 9.035 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001387/0.1696, allocations: 194 kB / 0.6876 GB, free: 8.848 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1696, allocations: 4 kB / 0.6876 GB, free: 8.844 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002706/0.1698, allocations: 55.94 kB / 0.6876 GB, free: 8.789 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.0005741/0.1704, allocations: 0.7902 MB / 0.6884 GB, free: 7.973 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002163/0.1706, allocations: 59.95 kB / 0.6885 GB, free: 7.914 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1707, allocations: 0 / 0.6885 GB, free: 7.914 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.924e-05/0.1708, allocations: 35.91 kB / 0.6885 GB, free: 7.879 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004221/0.1712, allocations: 54.64 kB / 0.6885 GB, free: 7.828 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006186/0.1718, allocations: 400 kB / 0.6889 GB, free: 7.398 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002657/0.1721, allocations: 0.7431 MB / 0.6897 GB, free: 6.629 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.39e-05/0.1721, allocations: 7.984 kB / 0.6897 GB, free: 6.621 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.273e-05/0.1722, allocations: 43.42 kB / 0.6897 GB, free: 6.578 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1722, allocations: 0 / 0.6897 GB, free: 6.578 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01965/0.1918, allocations: 4.108 MB / 0.6937 GB, free: 2.652 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.202/7.394, allocations: 14.97 kB / 0.6937 GB, free: 2.645 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wDerPhi_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wDerPhi.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe 2>&1)