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.00455/0.00455, allocations: 96.7 kB / 15.73 MB, free: 6.484 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.001294/0.001294, allocations: 192.2 kB / 16.67 MB, free: 6.391 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002564/0.002564, allocations: 283 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9543/0.9543, allocations: 169.2 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002624/0.002624, allocations: 103.3 kB / 0.6809 GB, free: 28 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1478, allocations: 86.97 MB / 0.7659 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree): time 0.002037/0.1499, allocations: 1.268 MB / 0.7671 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001041/0.1509, allocations: 0.6939 MB / 0.7678 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.285e-05/0.1509, allocations: 0 / 0.7678 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.57e-05/0.151, allocations: 3.984 kB / 0.7678 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.26e-05/0.151, allocations: 3.938 kB / 0.7678 GB, free: 7 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003508/0.1514, allocations: 123.7 kB / 0.7679 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.205e-05/0.1514, allocations: 27.92 kB / 0.7679 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.891e-05/0.1515, allocations: 7.984 kB / 0.7679 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.038e-05/0.1515, allocations: 7.938 kB / 0.7679 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.827e-05/0.1516, allocations: 15.98 kB / 0.768 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.458e-06/0.1516, allocations: 0 / 0.768 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002764/0.1519, allocations: 163.8 kB / 0.7681 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.087e-05/0.1519, allocations: 0 / 0.7681 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.218e-05/0.1519, allocations: 15.92 kB / 0.7681 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000172/0.1521, allocations: 115.9 kB / 0.7682 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.1521, allocations: 4 kB / 0.7682 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1521, allocations: 0 / 0.7682 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.397e-06/0.1521, allocations: 4 kB / 0.7683 GB, free: 6.523 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003599/0.1525, allocations: 343.3 kB / 0.7686 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.1525, allocations: 8.031 kB / 0.7686 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.35e-05/0.1526, allocations: 30.75 kB / 0.7686 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.063e-05/0.1526, allocations: 4.938 kB / 0.7686 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.1527, allocations: 164.4 kB / 0.7688 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.637e-06/0.1527, allocations: 384 / 0.7688 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-06/0.1527, allocations: 8.375 kB / 0.7688 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.232e-05/0.1528, allocations: 45.81 kB / 0.7688 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.1529, allocations: 3.938 kB / 0.7688 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.1529, allocations: 4 kB / 0.7688 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.1529, allocations: 3.938 kB / 0.7688 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.695e-05/0.1529, allocations: 23.97 kB / 0.7689 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001594/0.1531, allocations: 161.7 kB / 0.769 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.609e-05/0.1532, allocations: 34.58 kB / 0.7691 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.739e-05/0.1532, allocations: 20.97 kB / 0.7691 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003424/0.1536, allocations: 182.2 kB / 0.7692 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.1536, allocations: 38.5 kB / 0.7693 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.1536, allocations: 0 / 0.7693 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.0001567/0.1538, allocations: 69.58 kB / 0.7693 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/0.1538, allocations: 59.41 kB / 0.7694 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.718e-05/0.1539, allocations: 93.86 kB / 0.7695 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.1539, allocations: 25.7 kB / 0.7695 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.528e-05/0.1539, allocations: 84.12 kB / 0.7696 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.22e-05/0.154, allocations: 15.91 kB / 0.7696 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-05/0.154, allocations: 13.72 kB / 0.7696 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.1541, allocations: 318.8 kB / 0.7699 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.758e-05/0.1542, allocations: 8 kB / 0.7699 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.581e-05/0.1542, allocations: 8 kB / 0.7699 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.377e-05/0.1543, allocations: 32.91 kB / 0.77 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.1543, allocations: 0 / 0.77 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.782e-05/0.1544, allocations: 57.64 kB / 0.77 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.1544, allocations: 4 kB / 0.77 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1544, allocations: 3.984 kB / 0.77 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/0.1544, allocations: 0 / 0.77 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.653e-05/0.1545, allocations: 8 kB / 0.77 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.546e-06/0.1545, allocations: 0 / 0.77 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.278e-05/0.1545, allocations: 7.953 kB / 0.7701 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.1545, allocations: 3.938 kB / 0.7701 GB, free: 4.402 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 (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.109e-05/0.1546, allocations: 114.5 kB / 0.7702 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.366e-05/0.1546, allocations: 7.938 kB / 0.7702 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001461/0.1547, allocations: 81.11 kB / 0.7703 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1548, allocations: 0 / 0.7703 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.1548, allocations: 0 / 0.7703 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/0.1548, allocations: 7.984 kB / 0.7703 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001193/0.1549, allocations: 162.1 kB / 0.7704 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1549, allocations: 0 / 0.7704 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.158e-05/0.155, allocations: 19.94 kB / 0.7704 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.155, allocations: 3.984 kB / 0.7704 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.155, allocations: 4 kB / 0.7704 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.155, allocations: 0 / 0.7704 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.155, allocations: 0 / 0.7704 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001154/0.1551, allocations: 97 kB / 0.7705 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.004e-05/0.1551, allocations: 81.05 kB / 0.7706 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.023e-05/0.1552, allocations: 0 / 0.7706 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.876e-05/0.1552, allocations: 8 kB / 0.7706 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.219e-05/0.1552, allocations: 4 kB / 0.7706 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.1552, allocations: 4 kB / 0.7706 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.962e-05/0.1553, allocations: 79.27 kB / 0.7707 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1553, allocations: 0 / 0.7707 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002872/0.1556, allocations: 31.88 kB / 0.7707 GB, free: 3.613 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 (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.0004757/0.156, allocations: 0.6631 MB / 0.7714 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.52e-05/0.1561, allocations: 27.98 kB / 0.7714 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1561, allocations: 0 / 0.7714 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.865e-05/0.1562, allocations: 19.94 kB / 0.7714 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001594/0.1563, allocations: 3.984 kB / 0.7714 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003877/0.1567, allocations: 170 kB / 0.7716 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.157, allocations: 0.6807 MB / 0.7723 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.012e-05/0.157, allocations: 4 kB / 0.7723 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.125e-05/0.1571, allocations: 19.42 kB / 0.7723 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of SimCode: time 2.81e-07/0.1571, allocations: 3.938 kB / 0.7723 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6209/0.778, allocations: 2.24 MB / 0.7745 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.96/13.74, allocations: 5.5 kB / 0.7745 GB, free: 14.65 MB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaPlateFree_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaPlateFree.fmu > BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe 2>&1)