Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.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.dPhi,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_dPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_dPhi",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.001441/0.001441, 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.001704/0.001704, allocations: 189.5 kB / 16.62 MB, free: 6.613 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.253/1.253, allocations: 222.9 MB / 240.3 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002057/0.002057, allocations: 286.2 kB / 290.8 MB, free: 1.953 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8908/0.8908, allocations: 169.3 MB / 0.4983 GB, free: 13.84 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 98.41 kB / 0.5955 GB, free: 27.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1389, allocations: 86.98 MB / 0.6804 GB, free: 500 kB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi): time 0.002543/0.1415, allocations: 1.705 MB / 0.6821 GB, free: 14.78 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.1428, allocations: 1.114 MB / 0.6832 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.826e-05/0.1428, allocations: 0 / 0.6832 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003242/0.1431, allocations: 151.6 kB / 0.6833 GB, free: 13.51 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.794e-05/0.1432, allocations: 51.73 kB / 0.6834 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003302/0.1436, allocations: 163.4 kB / 0.6835 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001249/0.1437, allocations: 111.5 kB / 0.6837 GB, free: 13.19 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.854e-05/0.1437, allocations: 8 kB / 0.6837 GB, free: 13.18 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.289e-05/0.1438, allocations: 39.78 kB / 0.6837 GB, free: 13.14 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.039e-05/0.1439, allocations: 51.77 kB / 0.6837 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.1439, allocations: 4 kB / 0.6838 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003106/0.1442, allocations: 235.5 kB / 0.684 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.693e-05/0.1443, allocations: 55.8 kB / 0.684 GB, free: 12.8 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.519e-05/0.1444, allocations: 63.56 kB / 0.6841 GB, free: 12.74 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003182/0.1447, allocations: 307.1 kB / 0.6844 GB, free: 12.44 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.1447, allocations: 4 kB / 0.6844 GB, free: 12.44 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1447, allocations: 0 / 0.6844 GB, free: 12.44 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.1447, allocations: 0 / 0.6844 GB, free: 12.44 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.00051/0.1452, allocations: 0.4981 MB / 0.6849 GB, free: 11.89 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.1453, allocations: 12.03 kB / 0.6849 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.869e-05/0.1453, allocations: 30.75 kB / 0.6849 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.137e-05/0.1453, allocations: 16.75 kB / 0.6849 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.1455, allocations: 219.7 kB / 0.6851 GB, free: 11.57 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-06/0.1455, allocations: 384 / 0.6851 GB, free: 11.57 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.867e-06/0.1455, allocations: 4.359 kB / 0.6851 GB, free: 11.57 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.1457, allocations: 93.53 kB / 0.6852 GB, free: 11.47 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.1457, allocations: 0 / 0.6852 GB, free: 11.47 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.1457, allocations: 0 / 0.6852 GB, free: 11.47 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-06/0.1457, allocations: 0 / 0.6852 GB, free: 11.47 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001976/0.1459, allocations: 99.92 kB / 0.6853 GB, free: 11.38 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004309/0.1464, allocations: 376.8 kB / 0.6857 GB, free: 10.96 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.1465, allocations: 102.5 kB / 0.6858 GB, free: 10.85 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.1466, allocations: 52.89 kB / 0.6858 GB, free: 10.79 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.362e-05/0.1467, allocations: 19.98 kB / 0.6859 GB, free: 10.77 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.1467, allocations: 38.55 kB / 0.6859 GB, free: 10.73 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.1467, allocations: 0 / 0.6859 GB, free: 10.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.000393/0.1471, allocations: 193.3 kB / 0.6861 GB, free: 10.53 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.1471, allocations: 51.41 kB / 0.6861 GB, free: 10.47 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/0.1474, allocations: 258.7 kB / 0.6864 GB, free: 10.21 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.1474, allocations: 25.7 kB / 0.6864 GB, free: 10.18 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.285e-05/0.1475, allocations: 144 kB / 0.6865 GB, free: 10.04 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.33e-05/0.1475, allocations: 3.906 kB / 0.6865 GB, free: 10.03 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.308e-05/0.1475, allocations: 17.72 kB / 0.6866 GB, free: 10.01 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.568e-05/0.1476, allocations: 338.9 kB / 0.6869 GB, free: 9.668 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.1477, allocations: 47.91 kB / 0.6869 GB, free: 9.621 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.197e-05/0.1478, allocations: 47.97 kB / 0.687 GB, free: 9.574 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000186/0.148, allocations: 96.8 kB / 0.6871 GB, free: 9.477 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.148, allocations: 0 / 0.6871 GB, free: 9.477 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002369/0.1483, allocations: 149.5 kB / 0.6872 GB, free: 9.324 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.1483, allocations: 8 kB / 0.6872 GB, free: 9.316 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.1483, allocations: 3.938 kB / 0.6872 GB, free: 9.312 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/0.1483, allocations: 0 / 0.6872 GB, free: 9.312 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.028e-05/0.1484, allocations: 15.92 kB / 0.6872 GB, free: 9.297 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.1484, allocations: 0 / 0.6872 GB, free: 9.297 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.217e-05/0.1485, allocations: 11.92 kB / 0.6872 GB, free: 9.285 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.1485, allocations: 4.031 kB / 0.6872 GB, free: 9.281 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.359e-05/0.1486, allocations: 135.1 kB / 0.6874 GB, free: 9.141 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.233e-05/0.1486, allocations: 23.72 kB / 0.6874 GB, free: 9.117 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002972/0.1489, allocations: 162.5 kB / 0.6876 GB, free: 8.945 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1489, allocations: 0 / 0.6876 GB, free: 8.945 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-06/0.1489, allocations: 0 / 0.6876 GB, free: 8.945 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.1489, allocations: 0 / 0.6876 GB, free: 8.945 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002086/0.1492, allocations: 249.5 kB / 0.6878 GB, free: 8.652 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.1492, allocations: 0 / 0.6878 GB, free: 8.652 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.005e-05/0.1492, allocations: 12 kB / 0.6878 GB, free: 8.641 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.1492, allocations: 0 / 0.6878 GB, free: 8.641 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.1492, allocations: 7.922 kB / 0.6878 GB, free: 8.633 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.1493, allocations: 4 kB / 0.6878 GB, free: 8.629 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.92e-07/0.1493, allocations: 0 / 0.6878 GB, free: 8.629 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000276/0.1495, allocations: 243.2 kB / 0.688 GB, free: 8.375 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.139e-05/0.1496, allocations: 96.92 kB / 0.6881 GB, free: 8.262 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.1496, allocations: 0 / 0.6881 GB, free: 8.262 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.897e-05/0.1497, allocations: 11.97 kB / 0.6882 GB, free: 8.25 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.671e-05/0.1497, allocations: 4 kB / 0.6882 GB, free: 8.246 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.1497, allocations: 4 kB / 0.6882 GB, free: 8.242 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001409/0.1499, allocations: 189.9 kB / 0.6883 GB, free: 8.059 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1499, allocations: 0 / 0.6883 GB, free: 8.059 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002883/0.1502, allocations: 75.92 kB / 0.6884 GB, free: 7.984 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 (3): * Single equations (assignments): 3 * 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.0006226/0.1508, allocations: 0.8526 MB / 0.6892 GB, free: 7.105 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002325/0.1511, allocations: 99.94 kB / 0.6893 GB, free: 7.008 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.1511, allocations: 0 / 0.6893 GB, free: 7.008 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001099/0.1512, allocations: 59.89 kB / 0.6894 GB, free: 6.949 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003873/0.1516, allocations: 40.47 kB / 0.6894 GB, free: 6.91 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006657/0.1523, allocations: 444 kB / 0.6899 GB, free: 6.438 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002448/0.1525, allocations: 0.7314 MB / 0.6906 GB, free: 5.68 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.66e-05/0.1526, allocations: 11.97 kB / 0.6906 GB, free: 5.668 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.697e-05/0.1526, allocations: 51.42 kB / 0.6906 GB, free: 5.617 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1526, allocations: 0 / 0.6906 GB, free: 5.617 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02023/0.1729, allocations: 4.547 MB / 0.6951 GB, free: 1.25 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.32/7.493, allocations: 20.89 kB / 0.6951 GB, free: 1.234 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_dPhi_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_dPhi.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe 2>&1)