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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8065/0.8065, allocations: 141.8 MB / 149.3 MB, free: 4.219 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 180.4 kB / 182.2 MB, free: 124 kB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 221.5 MB / 436.4 MB, free: 9.172 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 93.89 kB / 0.5074 GB, free: 24.33 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001861/0.001861, allocations: 271.6 kB / 0.5889 GB, free: 12.16 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 1.886e-05/1.888e-05, allocations: 0 / 0.6766 GB, free: 2.227 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4313/0.4314, allocations: 82.77 MB / 0.7574 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1202/0.5516, allocations: 109.2 MB / 0.8641 GB, free: 3.309 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002171/0.5519, allocations: 71.95 kB / 0.8642 GB, free: 3.238 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.008024/0.5599, allocations: 2.569 MB / 0.8667 GB, free: 0.6992 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.603e-06/0.56, allocations: 0.9688 kB / 0.8667 GB, free: 0.6992 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.205e-06/0.56, allocations: 0 / 0.8667 GB, free: 0.6992 MB / 0.5261 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.0002603/0.5603, allocations: 345.7 kB / 0.867 GB, free: 328 kB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.5603, allocations: 8.031 kB / 0.867 GB, free: 320 kB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.121e-05/0.5603, allocations: 4 kB / 0.867 GB, free: 316 kB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.392e-05/0.5604, allocations: 171 kB / 0.8672 GB, free: 104 kB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.709e-06/0.5605, allocations: 0 / 0.8672 GB, free: 104 kB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.5605, allocations: 4.969 kB / 0.8672 GB, free: 100 kB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.763e-05/0.5606, allocations: 18.52 kB / 0.8672 GB, free: 84 kB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.296e-05/0.5606, allocations: 46.75 kB / 0.8673 GB, free: 32 kB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.5606, allocations: 0 / 0.8673 GB, free: 32 kB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.5607, allocations: 0 / 0.8673 GB, free: 32 kB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.5607, allocations: 0 / 0.8673 GB, free: 32 kB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001769/0.5608, allocations: 145.3 kB / 0.8674 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 7.343e-05/0.5609, allocations: 30.64 kB / 0.8674 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.835e-05/0.561, allocations: 16.94 kB / 0.8674 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003411/0.5613, allocations: 182.2 kB / 0.8676 GB, free: 15.58 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.5614, allocations: 31.16 kB / 0.8676 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=5): time 2.895e-06/0.5614, allocations: 0.8125 kB / 0.8676 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5): time 0.0002337/0.5616, allocations: 65.56 kB / 0.8677 GB, free: 15.47 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.5616, allocations: 53.84 kB / 0.8678 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.929e-05/0.5617, allocations: 88.98 kB / 0.8678 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.5617, allocations: 29.7 kB / 0.8679 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.443e-05/0.5618, allocations: 82.16 kB / 0.868 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.157e-05/0.5618, allocations: 15.94 kB / 0.868 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-06/0.5618, allocations: 0 / 0.868 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.562, allocations: 314.8 kB / 0.8683 GB, free: 14.87 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.816e-05/0.562, allocations: 4 kB / 0.8683 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.659e-05/0.562, allocations: 11.98 kB / 0.8683 GB, free: 14.85 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.284e-05/0.5621, allocations: 8 kB / 0.8683 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.5621, allocations: 0 / 0.8683 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001472/0.5623, allocations: 53.69 kB / 0.8683 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.5623, allocations: 7.953 kB / 0.8683 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.5623, allocations: 1.484 kB / 0.8684 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.5623, allocations: 4 kB / 0.8684 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.523e-05/0.5624, allocations: 16.86 kB / 0.8684 GB, free: 14.76 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.5624, allocations: 0 / 0.8684 GB, free: 14.76 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.327e-05/0.5624, allocations: 3.906 kB / 0.8684 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.5625, allocations: 8 kB / 0.8684 GB, free: 14.75 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.934e-05/0.5625, allocations: 101 kB / 0.8685 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001464/0.5627, allocations: 57.94 kB / 0.8685 GB, free: 14.58 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.327e-06/0.5627, allocations: 3.953 kB / 0.8685 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002328/0.5629, allocations: 99.3 kB / 0.8686 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.563, allocations: 2.719 kB / 0.8686 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.563, allocations: 0 / 0.8686 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.563, allocations: 0 / 0.8686 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001122/0.5631, allocations: 142.2 kB / 0.8688 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.5631, allocations: 0 / 0.8688 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.389e-05/0.5632, allocations: 8 kB / 0.8688 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.135e-06/0.5632, allocations: 0 / 0.8688 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.5632, allocations: 3.953 kB / 0.8688 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.5632, allocations: 4 kB / 0.8688 GB, free: 14.28 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.5632, allocations: 4 kB / 0.8688 GB, free: 14.28 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001543/0.5634, allocations: 81.11 kB / 0.8689 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.814e-05/0.5634, allocations: 85.05 kB / 0.8689 GB, free: 14.08 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.5634, allocations: 3.938 kB / 0.869 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.206e-05/0.5635, allocations: 3.953 kB / 0.869 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.996e-05/0.5635, allocations: 3.984 kB / 0.869 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-06/0.5635, allocations: 8 kB / 0.869 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.116e-05/0.5635, allocations: 75.28 kB / 0.869 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5635, allocations: 0 / 0.869 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002747/0.5638, allocations: 43.94 kB / 0.8691 GB, free: 13.94 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005963/0.5644, allocations: 0.6553 MB / 0.8697 GB, free: 13.26 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 8.443e-05/0.5645, allocations: 28.28 kB / 0.8697 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5645, allocations: 0 / 0.8697 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.5e-05/0.5646, allocations: 16.12 kB / 0.8698 GB, free: 13.21 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001091/0.5647, allocations: 4.516 kB / 0.8698 GB, free: 13.21 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000343/0.565, allocations: 114.5 kB / 0.8699 GB, free: 13.06 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.5653, allocations: 0.6807 MB / 0.8705 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.646e-05/0.5654, allocations: 11.75 kB / 0.8706 GB, free: 12.35 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.499e-05/0.5654, allocations: 19.42 kB / 0.8706 GB, free: 12.33 MB / 0.5417 GB Notification: Performance of SimCode: time 2.5e-07/0.5654, allocations: 0 / 0.8706 GB, free: 12.33 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02085/0.5863, allocations: 1.597 MB / 0.8721 GB, free: 10.78 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001991/0.5865, allocations: 163.5 kB / 0.8723 GB, free: 10.58 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.626/2.212, allocations: 5.562 kB / 0.8723 GB, free: 10.58 MB / 0.5417 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/linux/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)