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.001166/0.001166, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001169/0.001168, allocations: 195.7 kB / 16.25 MB, free: 6.621 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.204/1.204, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001968/0.001968, allocations: 286.3 kB / 290.3 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8655/0.8655, allocations: 169.2 MB / 0.4978 GB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 88.52 kB / 0.5948 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1295, allocations: 86.98 MB / 0.6797 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree): time 0.002188/0.1317, allocations: 1.305 MB / 0.681 GB, free: 15.62 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009757/0.1327, allocations: 0.6982 MB / 0.6817 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.886e-05/0.1327, allocations: 1.562 kB / 0.6817 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.491e-05/0.1327, allocations: 0 / 0.6817 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.393e-05/0.1328, allocations: 3.984 kB / 0.6817 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003305/0.1331, allocations: 112.2 kB / 0.6818 GB, free: 14.81 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.455e-05/0.1332, allocations: 31.91 kB / 0.6818 GB, free: 14.78 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.606e-05/0.1332, allocations: 0 / 0.6818 GB, free: 14.78 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.19e-05/0.1333, allocations: 11.94 kB / 0.6818 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.096e-05/0.1333, allocations: 11.98 kB / 0.6819 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.087e-06/0.1334, allocations: 4 kB / 0.6819 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002379/0.1336, allocations: 163.8 kB / 0.682 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.136e-05/0.1336, allocations: 3.938 kB / 0.682 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.029e-05/0.1336, allocations: 11.98 kB / 0.682 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001489/0.1338, allocations: 108 kB / 0.6821 GB, free: 14.47 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1338, allocations: 4 kB / 0.6821 GB, free: 14.46 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1338, allocations: 0 / 0.6821 GB, free: 14.46 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.557e-06/0.1338, allocations: 0 / 0.6821 GB, free: 14.46 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.0003181/0.1341, allocations: 343.5 kB / 0.6825 GB, free: 14.08 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.979e-05/0.1342, allocations: 11.97 kB / 0.6825 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.176e-05/0.1342, allocations: 34.75 kB / 0.6825 GB, free: 14.03 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.237e-05/0.1342, allocations: 8.844 kB / 0.6825 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.093e-05/0.1343, allocations: 164.4 kB / 0.6827 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.985e-06/0.1344, allocations: 384 / 0.6827 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.1344, allocations: 12.31 kB / 0.6827 GB, free: 13.81 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.69e-05/0.1345, allocations: 45.75 kB / 0.6827 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.34e-06/0.1345, allocations: 0 / 0.6827 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.211e-06/0.1345, allocations: 4 kB / 0.6827 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-06/0.1345, allocations: 0 / 0.6827 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.947e-05/0.1346, allocations: 27.97 kB / 0.6828 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001268/0.1347, allocations: 157.7 kB / 0.6829 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.701e-05/0.1348, allocations: 38.64 kB / 0.6829 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.364e-05/0.1348, allocations: 16.84 kB / 0.683 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003301/0.1351, allocations: 186.3 kB / 0.6831 GB, free: 13.24 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/0.1352, allocations: 38.44 kB / 0.6832 GB, free: 13.19 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.1352, allocations: 0 / 0.6832 GB, free: 13.19 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001424/0.1353, allocations: 61.69 kB / 0.6832 GB, free: 13.12 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.304e-05/0.1354, allocations: 51.41 kB / 0.6833 GB, free: 13.06 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.963e-05/0.1354, allocations: 105.8 kB / 0.6834 GB, free: 12.95 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.1354, allocations: 25.7 kB / 0.6834 GB, free: 12.92 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.47e-05/0.1355, allocations: 80.14 kB / 0.6835 GB, free: 12.84 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.233e-05/0.1355, allocations: 15.75 kB / 0.6835 GB, free: 12.82 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.959e-05/0.1355, allocations: 17.72 kB / 0.6835 GB, free: 12.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.423e-05/0.1356, allocations: 318.8 kB / 0.6838 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.959e-05/0.1356, allocations: 8 kB / 0.6838 GB, free: 12.47 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.505e-05/0.1357, allocations: 4 kB / 0.6838 GB, free: 12.46 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.936e-05/0.1357, allocations: 36.91 kB / 0.6839 GB, free: 12.43 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1357, allocations: 0 / 0.6839 GB, free: 12.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.992e-05/0.1358, allocations: 61.55 kB / 0.6839 GB, free: 12.36 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.1358, allocations: 7.984 kB / 0.6839 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.1358, allocations: 0 / 0.6839 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.606e-06/0.1358, allocations: 0 / 0.6839 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.549e-05/0.1359, allocations: 8 kB / 0.6839 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.1359, allocations: 3.984 kB / 0.6839 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.962e-05/0.1359, allocations: 0 / 0.6839 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.136, allocations: 7.938 kB / 0.684 GB, free: 12.33 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 6.416e-05/0.136, allocations: 119.1 kB / 0.6841 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.122e-05/0.136, allocations: 8.375 kB / 0.6841 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001418/0.1362, allocations: 77.23 kB / 0.6841 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1362, allocations: 4 kB / 0.6842 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1362, allocations: 0 / 0.6842 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1362, allocations: 3.984 kB / 0.6842 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.771e-05/0.1363, allocations: 165.6 kB / 0.6843 GB, free: 11.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1363, allocations: 4 kB / 0.6843 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.088e-05/0.1364, allocations: 11.94 kB / 0.6843 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1364, allocations: 4 kB / 0.6843 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-06/0.1364, allocations: 0 / 0.6843 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.1364, allocations: 0 / 0.6843 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1364, allocations: 3.938 kB / 0.6843 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001057/0.1365, allocations: 97.09 kB / 0.6844 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.938e-05/0.1365, allocations: 81.05 kB / 0.6845 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.011e-05/0.1366, allocations: 4 kB / 0.6845 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.602e-05/0.1366, allocations: 0 / 0.6845 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.084e-05/0.1366, allocations: 4 kB / 0.6845 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.1366, allocations: 4 kB / 0.6845 GB, free: 11.65 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.423e-05/0.1366, allocations: 83.27 kB / 0.6846 GB, free: 11.57 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1367, allocations: 0 / 0.6846 GB, free: 11.57 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000213/0.1369, allocations: 31.94 kB / 0.6846 GB, free: 11.54 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.0004168/0.1373, allocations: 0.6567 MB / 0.6853 GB, free: 10.85 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.196e-05/0.1374, allocations: 35.98 kB / 0.6853 GB, free: 10.82 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.1374, allocations: 0 / 0.6853 GB, free: 10.82 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.806e-05/0.1374, allocations: 23.92 kB / 0.6853 GB, free: 10.79 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001215/0.1376, allocations: 0 / 0.6853 GB, free: 10.79 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000336/0.1379, allocations: 180.2 kB / 0.6855 GB, free: 10.58 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001973/0.1381, allocations: 0.6768 MB / 0.6862 GB, free: 9.875 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.534e-05/0.1382, allocations: 11.92 kB / 0.6862 GB, free: 9.863 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.667e-05/0.1382, allocations: 15.44 kB / 0.6862 GB, free: 9.848 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1382, allocations: 0 / 0.6862 GB, free: 9.848 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01098/0.1492, allocations: 2.131 MB / 0.6883 GB, free: 7.879 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001712/0.1494, allocations: 231.8 kB / 0.6885 GB, free: 7.621 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.631/1.78, allocations: 0 / 0.6885 GB, free: 7.621 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)