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.001182/0.001182, 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.001074/0.001074, allocations: 197.1 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.162/1.162, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001909/0.001909, allocations: 279.1 kB / 290.7 MB, free: 1.977 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8804/0.8804, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001599/0.001599, allocations: 94.02 kB / 0.5953 GB, free: 27.83 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1197, allocations: 86.98 MB / 0.6803 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree): time 0.002122/0.1219, allocations: 1.255 MB / 0.6815 GB, free: 15.35 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00102/0.1229, allocations: 0.6937 MB / 0.6822 GB, free: 14.65 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.617e-05/0.123, allocations: 0.5938 kB / 0.6822 GB, free: 14.65 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.512e-05/0.123, allocations: 3.938 kB / 0.6822 GB, free: 14.65 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.184e-05/0.123, allocations: 4.859 kB / 0.6822 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003675/0.1234, allocations: 124.4 kB / 0.6823 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.748e-05/0.1235, allocations: 29.2 kB / 0.6823 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.521e-05/0.1235, allocations: 0 / 0.6823 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.729e-05/0.1236, allocations: 19.92 kB / 0.6824 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.098e-05/0.1236, allocations: 8.703 kB / 0.6824 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.958e-06/0.1236, allocations: 0 / 0.6824 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000262/0.1239, allocations: 156.4 kB / 0.6825 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.387e-05/0.1239, allocations: 15.94 kB / 0.6825 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.08e-05/0.124, allocations: 7.984 kB / 0.6825 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00016/0.1241, allocations: 112 kB / 0.6826 GB, free: 14.18 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.1241, allocations: 0 / 0.6826 GB, free: 14.18 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1241, allocations: 0 / 0.6826 GB, free: 14.18 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.271e-06/0.1242, allocations: 0 / 0.6826 GB, free: 14.18 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.0003059/0.1245, allocations: 347.4 kB / 0.683 GB, free: 13.8 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.1245, allocations: 11.97 kB / 0.683 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.531e-05/0.1245, allocations: 34.75 kB / 0.683 GB, free: 13.74 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.227e-05/0.1246, allocations: 12.84 kB / 0.683 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.646e-05/0.1246, allocations: 160.4 kB / 0.6832 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-06/0.1247, allocations: 8.375 kB / 0.6832 GB, free: 13.53 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.805e-06/0.1247, allocations: 384 / 0.6832 GB, free: 13.53 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.305e-05/0.1248, allocations: 49.8 kB / 0.6832 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.1248, allocations: 0 / 0.6832 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.743e-06/0.1248, allocations: 0 / 0.6832 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-06/0.1248, allocations: 3.938 kB / 0.6832 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.454e-05/0.1249, allocations: 27.92 kB / 0.6833 GB, free: 13.44 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001362/0.125, allocations: 157.7 kB / 0.6834 GB, free: 13.24 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.096e-05/0.1251, allocations: 38.62 kB / 0.6835 GB, free: 13.19 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.61e-05/0.1251, allocations: 20.97 kB / 0.6835 GB, free: 13.17 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003269/0.1254, allocations: 186.2 kB / 0.6837 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.1255, allocations: 38.5 kB / 0.6837 GB, free: 12.9 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.1255, allocations: 0 / 0.6837 GB, free: 12.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001592/0.1256, allocations: 69.62 kB / 0.6838 GB, free: 12.83 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.372e-05/0.1257, allocations: 51.41 kB / 0.6838 GB, free: 12.77 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.164e-05/0.1257, allocations: 93.86 kB / 0.6839 GB, free: 12.66 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.1257, allocations: 25.7 kB / 0.6839 GB, free: 12.63 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.111e-05/0.1258, allocations: 80.14 kB / 0.684 GB, free: 12.55 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.78e-05/0.1258, allocations: 19.73 kB / 0.684 GB, free: 12.53 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.894e-05/0.1258, allocations: 21.72 kB / 0.684 GB, free: 12.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.203e-05/0.1259, allocations: 311 kB / 0.6843 GB, free: 12.19 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.012e-05/0.1259, allocations: 11.98 kB / 0.6843 GB, free: 12.18 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.754e-05/0.126, allocations: 8 kB / 0.6843 GB, free: 12.17 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.631e-05/0.126, allocations: 28.86 kB / 0.6844 GB, free: 12.14 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.126, allocations: 0 / 0.6844 GB, free: 12.14 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.161e-05/0.1261, allocations: 61.84 kB / 0.6844 GB, free: 12.07 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.869e-06/0.1261, allocations: 4 kB / 0.6844 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1261, allocations: 4 kB / 0.6844 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.947e-06/0.1261, allocations: 0 / 0.6844 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.041e-05/0.1262, allocations: 16.05 kB / 0.6845 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.1262, allocations: 0 / 0.6845 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.874e-05/0.1262, allocations: 8 kB / 0.6845 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.1262, allocations: 3.938 kB / 0.6845 GB, free: 12.04 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 5.362e-05/0.1263, allocations: 111.2 kB / 0.6846 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.112e-05/0.1263, allocations: 3.938 kB / 0.6846 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001415/0.1265, allocations: 81.11 kB / 0.6847 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.1265, allocations: 4 kB / 0.6847 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.1265, allocations: 4 kB / 0.6847 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.1265, allocations: 0 / 0.6847 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.893e-05/0.1266, allocations: 165.6 kB / 0.6848 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1266, allocations: 0 / 0.6848 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.053e-05/0.1266, allocations: 15.92 kB / 0.6848 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1267, allocations: 0 / 0.6848 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.1267, allocations: 4 kB / 0.6848 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1267, allocations: 4 kB / 0.6848 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1267, allocations: 0 / 0.6848 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.69e-05/0.1268, allocations: 85.06 kB / 0.6849 GB, free: 11.49 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.876e-05/0.1268, allocations: 85.05 kB / 0.685 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.1268, allocations: 7.984 kB / 0.685 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.59e-05/0.1269, allocations: 0 / 0.685 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.476e-05/0.1269, allocations: 4 kB / 0.685 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-06/0.1269, allocations: 0 / 0.685 GB, free: 11.38 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.688e-05/0.1269, allocations: 79.28 kB / 0.6851 GB, free: 11.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1269, allocations: 0 / 0.6851 GB, free: 11.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002132/0.1271, allocations: 36.02 kB / 0.6851 GB, free: 11.26 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.0003884/0.1275, allocations: 0.6632 MB / 0.6858 GB, free: 10.57 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.451e-05/0.1276, allocations: 23.98 kB / 0.6858 GB, free: 10.54 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1276, allocations: 0 / 0.6858 GB, free: 10.54 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.547e-05/0.1277, allocations: 19.94 kB / 0.6858 GB, free: 10.52 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001217/0.1278, allocations: 12 kB / 0.6858 GB, free: 10.51 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003261/0.1281, allocations: 168.2 kB / 0.686 GB, free: 10.31 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001697/0.1283, allocations: 0.6807 MB / 0.6867 GB, free: 9.602 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.415e-05/0.1283, allocations: 8.188 kB / 0.6867 GB, free: 9.594 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.829e-05/0.1284, allocations: 19.42 kB / 0.6867 GB, free: 9.574 MB / 494.1 MB Notification: Performance of SimCode: time 1.8e-07/0.1284, allocations: 0 / 0.6867 GB, free: 9.574 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3643/0.4926, allocations: 2.207 MB / 0.6888 GB, free: 7.488 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.392/7.885, allocations: 14.23 kB / 0.6888 GB, free: 7.477 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 & /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)