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.001358/0.001358, allocations: 108 kB / 15.61 MB, free: 152 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.001317/0.001317, allocations: 192.7 kB / 16.53 MB, free: 6.664 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.36/1.36, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002416/0.002416, allocations: 283 kB / 290.7 MB, free: 2.016 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9647/0.9647, allocations: 169.3 MB / 0.4982 GB, free: 13.98 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002658/0.002658, allocations: 96.53 kB / 0.5953 GB, free: 28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.141, allocations: 86.97 MB / 0.6803 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi): time 0.002896/0.1439, allocations: 1.696 MB / 0.6819 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001494/0.1454, allocations: 1.123 MB / 0.683 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.991e-05/0.1455, allocations: 0 / 0.683 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003804/0.1459, allocations: 151.6 kB / 0.6832 GB, free: 13.64 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.691e-05/0.1459, allocations: 55.73 kB / 0.6832 GB, free: 13.58 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003846/0.1463, allocations: 159.4 kB / 0.6834 GB, free: 13.43 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001344/0.1465, allocations: 107.5 kB / 0.6835 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.389e-05/0.1465, allocations: 8 kB / 0.6835 GB, free: 13.31 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.854e-05/0.1466, allocations: 39.78 kB / 0.6835 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.998e-05/0.1467, allocations: 51.81 kB / 0.6836 GB, free: 13.22 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.1467, allocations: 8 kB / 0.6836 GB, free: 13.21 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003762/0.1471, allocations: 231.5 kB / 0.6838 GB, free: 12.99 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.55e-05/0.1472, allocations: 55.81 kB / 0.6839 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.847e-05/0.1473, allocations: 63.55 kB / 0.6839 GB, free: 12.87 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003985/0.1477, allocations: 299.2 kB / 0.6842 GB, free: 12.58 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.1477, allocations: 0 / 0.6842 GB, free: 12.58 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1477, allocations: 3.938 kB / 0.6842 GB, free: 12.57 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.1477, allocations: 0 / 0.6842 GB, free: 12.57 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.0006352/0.1483, allocations: 0.502 MB / 0.6847 GB, free: 12.02 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.1484, allocations: 12.03 kB / 0.6847 GB, free: 12.01 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.515e-05/0.1484, allocations: 30.75 kB / 0.6847 GB, free: 11.97 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.642e-05/0.1485, allocations: 16.75 kB / 0.6848 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.1486, allocations: 215.7 kB / 0.685 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.1487, allocations: 4.375 kB / 0.685 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-06/0.1487, allocations: 4.375 kB / 0.685 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002132/0.1489, allocations: 85.53 kB / 0.6851 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.555e-06/0.1489, allocations: 0 / 0.6851 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-06/0.1489, allocations: 0 / 0.6851 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.1489, allocations: 8 kB / 0.6851 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002261/0.1492, allocations: 95.92 kB / 0.6852 GB, free: 11.51 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005189/0.1497, allocations: 372.8 kB / 0.6855 GB, free: 11.1 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.1499, allocations: 94.53 kB / 0.6856 GB, free: 11 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/0.15, allocations: 60.83 kB / 0.6857 GB, free: 10.93 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.564e-05/0.1501, allocations: 27.98 kB / 0.6857 GB, free: 10.91 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.1501, allocations: 30.56 kB / 0.6857 GB, free: 10.87 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.143e-06/0.1501, allocations: 3.938 kB / 0.6857 GB, free: 10.86 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004611/0.1506, allocations: 197.4 kB / 0.6859 GB, free: 10.66 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.1506, allocations: 51.41 kB / 0.686 GB, free: 10.6 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002556/0.1509, allocations: 258.7 kB / 0.6862 GB, free: 10.34 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.1509, allocations: 25.7 kB / 0.6862 GB, free: 10.31 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.151, allocations: 136.1 kB / 0.6864 GB, free: 10.18 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.675e-05/0.151, allocations: 7.891 kB / 0.6864 GB, free: 10.17 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.219e-05/0.1511, allocations: 13.72 kB / 0.6864 GB, free: 10.15 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.1512, allocations: 330.8 kB / 0.6867 GB, free: 9.816 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.1514, allocations: 59.92 kB / 0.6868 GB, free: 9.758 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.1515, allocations: 43.97 kB / 0.6868 GB, free: 9.715 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002083/0.1517, allocations: 100.8 kB / 0.6869 GB, free: 9.613 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.1517, allocations: 0 / 0.6869 GB, free: 9.613 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002745/0.152, allocations: 149.4 kB / 0.687 GB, free: 9.461 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.152, allocations: 8 kB / 0.687 GB, free: 9.453 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.152, allocations: 3.984 kB / 0.687 GB, free: 9.449 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.152, allocations: 0 / 0.687 GB, free: 9.449 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.483e-05/0.1521, allocations: 15.98 kB / 0.6871 GB, free: 9.434 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.1521, allocations: 0 / 0.6871 GB, free: 9.434 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.603e-05/0.1522, allocations: 7.938 kB / 0.6871 GB, free: 9.426 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.1522, allocations: 3.938 kB / 0.6871 GB, free: 9.422 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 0.0001215/0.1523, allocations: 147.1 kB / 0.6872 GB, free: 9.27 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.715e-05/0.1524, allocations: 19.72 kB / 0.6872 GB, free: 9.25 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003537/0.1527, allocations: 166.5 kB / 0.6874 GB, free: 9.074 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.1528, allocations: 4.031 kB / 0.6874 GB, free: 9.07 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.1528, allocations: 0 / 0.6874 GB, free: 9.07 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.1528, allocations: 0 / 0.6874 GB, free: 9.07 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002617/0.153, allocations: 241.5 kB / 0.6876 GB, free: 8.785 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.153, allocations: 0 / 0.6876 GB, free: 8.785 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.357e-05/0.1531, allocations: 15.98 kB / 0.6876 GB, free: 8.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1531, allocations: 0 / 0.6876 GB, free: 8.77 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.1531, allocations: 8 kB / 0.6876 GB, free: 8.762 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1531, allocations: 0 / 0.6876 GB, free: 8.762 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1532, allocations: 0 / 0.6876 GB, free: 8.762 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003273/0.1535, allocations: 247.2 kB / 0.6879 GB, free: 8.504 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.869e-05/0.1536, allocations: 100.8 kB / 0.688 GB, free: 8.387 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.207e-05/0.1536, allocations: 0 / 0.688 GB, free: 8.387 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.074e-05/0.1537, allocations: 4 kB / 0.688 GB, free: 8.383 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.016e-05/0.1537, allocations: 3.984 kB / 0.688 GB, free: 8.379 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-06/0.1537, allocations: 4 kB / 0.688 GB, free: 8.375 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001695/0.1539, allocations: 189.9 kB / 0.6882 GB, free: 8.191 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1539, allocations: 0 / 0.6882 GB, free: 8.191 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003217/0.1542, allocations: 79.88 kB / 0.6882 GB, free: 8.113 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.000792/0.155, allocations: 0.8526 MB / 0.6891 GB, free: 7.234 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002726/0.1553, allocations: 95.94 kB / 0.6892 GB, free: 7.141 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1553, allocations: 3.938 kB / 0.6892 GB, free: 7.137 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.1555, allocations: 60.02 kB / 0.6892 GB, free: 7.078 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004306/0.1559, allocations: 45.22 kB / 0.6893 GB, free: 7.035 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007647/0.1567, allocations: 450 kB / 0.6897 GB, free: 6.559 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003716/0.1571, allocations: 0.7391 MB / 0.6904 GB, free: 5.793 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.867e-05/0.1571, allocations: 4 kB / 0.6904 GB, free: 5.789 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.828e-05/0.1572, allocations: 51.41 kB / 0.6905 GB, free: 5.738 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1572, allocations: 0 / 0.6905 GB, free: 5.738 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0261/0.1833, allocations: 4.522 MB / 0.6949 GB, free: 1.379 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.336/7.519, allocations: 8.422 kB / 0.6949 GB, free: 1.371 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_dPhi.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe 2>&1)