Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.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.myPhiMoist,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_myPhiMoist",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_myPhiMoist",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.004261/0.004261, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001206/0.001206, allocations: 201.8 kB / 16.68 MB, free: 5.969 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002384/0.002384, allocations: 282.5 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9773/0.9773, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002614/0.002614, allocations: 87.86 kB / 0.681 GB, free: 44 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1519, allocations: 86.97 MB / 0.7659 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist): time 0.00272/0.1546, allocations: 1.706 MB / 0.7676 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.000671/0.1553, allocations: 474.7 kB / 0.768 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.025e-05/0.1554, allocations: 0 / 0.768 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003859/0.1558, allocations: 151.4 kB / 0.7681 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.113e-05/0.1559, allocations: 55.72 kB / 0.7682 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002189/0.1561, allocations: 59.8 kB / 0.7683 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.1562, allocations: 95.5 kB / 0.7683 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.006e-05/0.1563, allocations: 12.27 kB / 0.7684 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.377e-05/0.1564, allocations: 39.78 kB / 0.7684 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.59e-05/0.1564, allocations: 43.83 kB / 0.7684 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.1565, allocations: 4 kB / 0.7684 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001691/0.1566, allocations: 87.78 kB / 0.7685 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.671e-05/0.1567, allocations: 63.78 kB / 0.7686 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.85e-05/0.1568, allocations: 63.56 kB / 0.7687 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002545/0.1571, allocations: 191.1 kB / 0.7688 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.1571, allocations: 0 / 0.7688 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1571, allocations: 0 / 0.7688 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.1571, allocations: 0 / 0.7688 GB, free: 5.953 MB / 0.5606 GB 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.0005886/0.1577, allocations: 494 kB / 0.7693 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.1577, allocations: 8.031 kB / 0.7693 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.437e-05/0.1578, allocations: 30.75 kB / 0.7693 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.548e-05/0.1578, allocations: 24.84 kB / 0.7694 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.158, allocations: 215.9 kB / 0.7696 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-06/0.158, allocations: 384 / 0.7696 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-06/0.158, allocations: 4.375 kB / 0.7696 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.1582, allocations: 53.98 kB / 0.7696 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.1582, allocations: 0 / 0.7696 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.1582, allocations: 0 / 0.7696 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.1582, allocations: 4 kB / 0.7696 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001747/0.1584, allocations: 47.89 kB / 0.7697 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004269/0.1588, allocations: 312.8 kB / 0.77 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/0.159, allocations: 46.55 kB / 0.77 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.243e-05/0.1591, allocations: 24.91 kB / 0.77 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.293e-05/0.1591, allocations: 11.98 kB / 0.7701 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.1591, allocations: 30.56 kB / 0.7701 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.1591, allocations: 0 / 0.7701 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003598/0.1595, allocations: 109.5 kB / 0.7702 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.1595, allocations: 51.41 kB / 0.7702 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002529/0.1598, allocations: 262.8 kB / 0.7705 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.1598, allocations: 25.7 kB / 0.7705 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.122e-05/0.1599, allocations: 132.1 kB / 0.7706 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.737e-05/0.1599, allocations: 11.92 kB / 0.7706 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.5e-05/0.16, allocations: 17.72 kB / 0.7707 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.1601, allocations: 326.8 kB / 0.771 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.743e-05/0.1602, allocations: 19.97 kB / 0.771 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.906e-05/0.1603, allocations: 23.98 kB / 0.771 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001853/0.1605, allocations: 52.69 kB / 0.7711 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1605, allocations: 0 / 0.7711 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000215/0.1607, allocations: 93.52 kB / 0.7712 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.1607, allocations: 4 kB / 0.7712 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1608, allocations: 8.094 kB / 0.7712 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.1608, allocations: 0 / 0.7712 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.824e-05/0.1609, allocations: 11.92 kB / 0.7712 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.1609, allocations: 3.938 kB / 0.7712 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.251e-05/0.1609, allocations: 4 kB / 0.7712 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.1609, allocations: 0 / 0.7712 GB, free: 3.309 MB / 0.5606 GB 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.0001067/0.1611, allocations: 142.4 kB / 0.7713 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.608e-05/0.1611, allocations: 19.86 kB / 0.7713 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002513/0.1614, allocations: 102.5 kB / 0.7714 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1614, allocations: 0 / 0.7714 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.1614, allocations: 0 / 0.7714 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.1614, allocations: 0 / 0.7714 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002145/0.1616, allocations: 213.5 kB / 0.7716 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1616, allocations: 0 / 0.7716 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.648e-05/0.1617, allocations: 8 kB / 0.7717 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.1617, allocations: 0 / 0.7717 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.1617, allocations: 8.031 kB / 0.7717 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.1617, allocations: 3.984 kB / 0.7717 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1617, allocations: 0 / 0.7717 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002606/0.162, allocations: 191.2 kB / 0.7718 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.293e-05/0.162, allocations: 89.02 kB / 0.7719 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.889e-05/0.1621, allocations: 0 / 0.7719 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.511e-05/0.1622, allocations: 12.02 kB / 0.7719 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.211e-05/0.1622, allocations: 7.984 kB / 0.772 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.1622, allocations: 4 kB / 0.772 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001723/0.1624, allocations: 185.9 kB / 0.7721 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1624, allocations: 0 / 0.7721 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002569/0.1627, allocations: 35.94 kB / 0.7722 GB, free: 2.203 MB / 0.5606 GB 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.0006225/0.1633, allocations: 0.7435 MB / 0.7729 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002148/0.1635, allocations: 47.89 kB / 0.7729 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1635, allocations: 0 / 0.7729 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.402e-05/0.1636, allocations: 28.06 kB / 0.773 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004309/0.1641, allocations: 40.47 kB / 0.773 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006996/0.1648, allocations: 405.8 kB / 0.7734 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000348/0.1651, allocations: 0.7314 MB / 0.7741 GB, free: 128 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.412e-05/0.1652, allocations: 7.688 kB / 0.7741 GB, free: 120 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.525e-05/0.1652, allocations: 51.42 kB / 0.7742 GB, free: 68 kB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.1652, allocations: 0 / 0.7742 GB, free: 68 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2822/0.4475, allocations: 3.948 MB / 0.778 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.484/7.931, allocations: 4.281 kB / 0.778 GB, free: 14.23 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist_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_myPhiMoist.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe 2>&1)