Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.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.ConvectiveHeatTransfer.Examples.AlphaPlateFree,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaPlateFree",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaPlateFree",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.00149/0.00149, 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.001477/0.001477, allocations: 195.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.358/1.358, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002629/0.002629, allocations: 294.9 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9747/0.9747, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002571/0.002571, allocations: 97.09 kB / 0.5953 GB, free: 27.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1477, allocations: 86.97 MB / 0.6803 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree): time 0.002304/0.15, allocations: 1.25 MB / 0.6815 GB, free: 15.37 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001118/0.1511, allocations: 0.7025 MB / 0.6822 GB, free: 14.67 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.71e-05/0.1512, allocations: 0 / 0.6822 GB, free: 14.67 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.911e-05/0.1512, allocations: 3.984 kB / 0.6822 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.364e-05/0.1512, allocations: 3.938 kB / 0.6822 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003694/0.1516, allocations: 123.7 kB / 0.6823 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.5e-05/0.1517, allocations: 24.7 kB / 0.6823 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.573e-05/0.1517, allocations: 0 / 0.6823 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.445e-05/0.1518, allocations: 25.58 kB / 0.6824 GB, free: 14.49 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.443e-05/0.1519, allocations: 7.984 kB / 0.6824 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.1519, allocations: 0 / 0.6824 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002881/0.1522, allocations: 156.5 kB / 0.6825 GB, free: 14.33 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.495e-05/0.1522, allocations: 12.56 kB / 0.6825 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.689e-05/0.1523, allocations: 11.92 kB / 0.6825 GB, free: 14.31 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.1525, allocations: 108.9 kB / 0.6826 GB, free: 14.2 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.1525, allocations: 0 / 0.6826 GB, free: 14.2 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1525, allocations: 0 / 0.6826 GB, free: 14.2 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.698e-06/0.1525, allocations: 0.5312 kB / 0.6826 GB, free: 14.2 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004375/0.1529, allocations: 348.5 kB / 0.683 GB, free: 13.82 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.153, allocations: 12.03 kB / 0.683 GB, free: 13.8 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.091e-05/0.153, allocations: 31.75 kB / 0.683 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.423e-05/0.153, allocations: 4.844 kB / 0.683 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.1532, allocations: 168.3 kB / 0.6832 GB, free: 13.56 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.1532, allocations: 8.375 kB / 0.6832 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.1532, allocations: 384 / 0.6832 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.1533, allocations: 49.8 kB / 0.6832 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.1533, allocations: 0 / 0.6832 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.1534, allocations: 0 / 0.6832 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.1534, allocations: 0 / 0.6832 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.05e-05/0.1534, allocations: 23.98 kB / 0.6833 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001815/0.1536, allocations: 157.7 kB / 0.6834 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.91e-05/0.1537, allocations: 42.56 kB / 0.6834 GB, free: 13.22 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.946e-05/0.1537, allocations: 16.98 kB / 0.6835 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003897/0.1541, allocations: 186.2 kB / 0.6836 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.1542, allocations: 42.5 kB / 0.6837 GB, free: 12.93 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.1542, allocations: 0 / 0.6837 GB, free: 12.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001757/0.1544, allocations: 61.69 kB / 0.6837 GB, free: 12.86 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.1544, allocations: 59.34 kB / 0.6838 GB, free: 12.79 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.19e-05/0.1545, allocations: 93.86 kB / 0.6839 GB, free: 12.69 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.1545, allocations: 25.7 kB / 0.6839 GB, free: 12.66 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.493e-05/0.1546, allocations: 84.14 kB / 0.684 GB, free: 12.57 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.158e-05/0.1546, allocations: 23.67 kB / 0.684 GB, free: 12.55 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-05/0.1547, allocations: 17.72 kB / 0.684 GB, free: 12.53 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.1548, allocations: 310.8 kB / 0.6843 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.463e-05/0.1548, allocations: 12.11 kB / 0.6843 GB, free: 12.2 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.807e-05/0.1549, allocations: 8 kB / 0.6843 GB, free: 12.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.236e-05/0.1549, allocations: 28.86 kB / 0.6844 GB, free: 12.16 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.1549, allocations: 0 / 0.6844 GB, free: 12.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001021/0.155, allocations: 61.47 kB / 0.6844 GB, free: 12.1 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.1551, allocations: 8 kB / 0.6844 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.1551, allocations: 0 / 0.6844 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.1551, allocations: 0 / 0.6844 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.404e-05/0.1551, allocations: 11.98 kB / 0.6844 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.1552, allocations: 0 / 0.6844 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.939e-05/0.1552, allocations: 7.938 kB / 0.6845 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.1552, allocations: 7.984 kB / 0.6845 GB, free: 12.06 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 (5): * Single equations (assignments): 5 * 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 7.596e-05/0.1553, allocations: 111.2 kB / 0.6846 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.139e-05/0.1553, allocations: 3.938 kB / 0.6846 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001778/0.1555, allocations: 81.17 kB / 0.6847 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.1555, allocations: 0 / 0.6847 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.1555, allocations: 0.5 kB / 0.6847 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1555, allocations: 4 kB / 0.6847 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001379/0.1557, allocations: 165.6 kB / 0.6848 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.1557, allocations: 7.922 kB / 0.6848 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.981e-05/0.1557, allocations: 19.94 kB / 0.6848 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.1557, allocations: 0 / 0.6848 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.106e-06/0.1557, allocations: 4 kB / 0.6848 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1557, allocations: 0 / 0.6848 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1557, allocations: 0 / 0.6848 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/0.1559, allocations: 81.12 kB / 0.6849 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.636e-05/0.1559, allocations: 89.03 kB / 0.685 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.156, allocations: 7.938 kB / 0.685 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.711e-05/0.156, allocations: 0 / 0.685 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.586e-05/0.156, allocations: 4 kB / 0.685 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.156, allocations: 0 / 0.685 GB, free: 11.39 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.083e-05/0.1561, allocations: 79.28 kB / 0.6851 GB, free: 11.32 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1561, allocations: 0 / 0.6851 GB, free: 11.32 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002276/0.1563, allocations: 35.92 kB / 0.6851 GB, free: 11.28 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 (6): * Single equations (assignments): 6 * 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.0005415/0.1568, allocations: 0.6554 MB / 0.6858 GB, free: 10.59 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001069/0.157, allocations: 31.92 kB / 0.6858 GB, free: 10.56 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.157, allocations: 0 / 0.6858 GB, free: 10.56 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.825e-05/0.157, allocations: 12 kB / 0.6858 GB, free: 10.55 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001322/0.1571, allocations: 8.75 kB / 0.6858 GB, free: 10.54 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003788/0.1575, allocations: 178.1 kB / 0.686 GB, free: 10.33 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.1578, allocations: 0.6807 MB / 0.6867 GB, free: 9.625 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.533e-05/0.1579, allocations: 8.188 kB / 0.6867 GB, free: 9.617 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.16e-05/0.1579, allocations: 15.42 kB / 0.6867 GB, free: 9.602 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1579, allocations: 4 kB / 0.6867 GB, free: 9.598 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02236/0.1803, allocations: 2.205 MB / 0.6888 GB, free: 7.516 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.328/7.508, allocations: 12 kB / 0.6888 GB, free: 7.504 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaPlateFree.fmu > BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe 2>&1)