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.005503/0.005503, allocations: 103.1 kB / 15.73 MB, free: 6.004 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.001168/0.001168, allocations: 193.8 kB / 16.68 MB, free: 5.93 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.258/1.258, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002244/0.002244, allocations: 297.2 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8992/0.8992, allocations: 169.3 MB / 0.4983 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 95.83 kB / 0.6809 GB, free: 7.539 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4407/0.4426, allocations: 86.97 MB / 0.7659 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree): time 0.002166/0.4448, allocations: 1.26 MB / 0.7671 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001083/0.4459, allocations: 0.7068 MB / 0.7678 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.351e-05/0.446, allocations: 0 / 0.7678 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.589e-05/0.446, allocations: 0 / 0.7678 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.918e-05/0.4461, allocations: 7.922 kB / 0.7678 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004211/0.4465, allocations: 123.7 kB / 0.7679 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.948e-05/0.4466, allocations: 19.92 kB / 0.7679 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.955e-05/0.4466, allocations: 8 kB / 0.7679 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.812e-05/0.4467, allocations: 11.98 kB / 0.7679 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.713e-05/0.4468, allocations: 19.92 kB / 0.768 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.4468, allocations: 0 / 0.768 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003192/0.4471, allocations: 163.8 kB / 0.7681 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.346e-05/0.4471, allocations: 7.922 kB / 0.7681 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.608e-05/0.4472, allocations: 11.94 kB / 0.7681 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001906/0.4473, allocations: 102.6 kB / 0.7682 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.4474, allocations: 0 / 0.7682 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.577e-06/0.4474, allocations: 8 kB / 0.7682 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.4474, allocations: 0 / 0.7682 GB, free: 1.477 MB / 0.5294 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.0003757/0.4478, allocations: 347.4 kB / 0.7686 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.4478, allocations: 8.031 kB / 0.7686 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.44e-05/0.4478, allocations: 34.75 kB / 0.7686 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.452e-05/0.4479, allocations: 4.938 kB / 0.7686 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.448, allocations: 160.4 kB / 0.7688 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.448, allocations: 384 / 0.7688 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.799e-06/0.448, allocations: 4.375 kB / 0.7688 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.681e-05/0.4481, allocations: 53.75 kB / 0.7688 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.112e-06/0.4481, allocations: 0 / 0.7688 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.4481, allocations: 3.984 kB / 0.7688 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.4481, allocations: 0 / 0.7688 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.79e-05/0.4482, allocations: 27.97 kB / 0.7689 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001471/0.4484, allocations: 153.7 kB / 0.769 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 6.653e-05/0.4484, allocations: 42.62 kB / 0.769 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.36e-05/0.4485, allocations: 8.859 kB / 0.7691 GB, free: 496 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003632/0.4488, allocations: 190.3 kB / 0.7692 GB, free: 268 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.4489, allocations: 42.44 kB / 0.7693 GB, free: 216 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 2.325e-06/0.4489, allocations: 0 / 0.7693 GB, free: 216 kB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.0001792/0.4491, allocations: 73.52 kB / 0.7693 GB, free: 136 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.4491, allocations: 55.41 kB / 0.7694 GB, free: 68 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.205e-05/0.4492, allocations: 93.86 kB / 0.7695 GB, free: 15.96 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.402e-05/0.4493, allocations: 29.83 kB / 0.7695 GB, free: 15.93 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.11e-05/0.4493, allocations: 84.14 kB / 0.7696 GB, free: 15.84 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.833e-05/0.4493, allocations: 15.73 kB / 0.7696 GB, free: 15.83 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.335e-05/0.4494, allocations: 21.7 kB / 0.7696 GB, free: 15.8 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.4495, allocations: 310.8 kB / 0.7699 GB, free: 15.49 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.998e-05/0.4495, allocations: 12 kB / 0.7699 GB, free: 15.48 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.945e-05/0.4496, allocations: 7.984 kB / 0.77 GB, free: 15.47 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.965e-05/0.4496, allocations: 28.8 kB / 0.77 GB, free: 15.44 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.4496, allocations: 0 / 0.77 GB, free: 15.44 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.727e-05/0.4497, allocations: 65.62 kB / 0.77 GB, free: 15.37 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.4497, allocations: 4 kB / 0.77 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.4497, allocations: 0 / 0.77 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.4498, allocations: 0 / 0.77 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.139e-05/0.4498, allocations: 8 kB / 0.7701 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.4498, allocations: 7.922 kB / 0.7701 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.906e-05/0.4499, allocations: 4 kB / 0.7701 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.4499, allocations: 0 / 0.7701 GB, free: 15.34 MB / 0.545 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 6.891e-05/0.4499, allocations: 109.8 kB / 0.7702 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.611e-05/0.45, allocations: 19.84 kB / 0.7702 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001479/0.4501, allocations: 73.23 kB / 0.7703 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.4501, allocations: 0 / 0.7703 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.4501, allocations: 0 / 0.7703 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.4501, allocations: 4 kB / 0.7703 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001051/0.4503, allocations: 158.1 kB / 0.7704 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.4503, allocations: 0 / 0.7704 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.247e-05/0.4503, allocations: 19.92 kB / 0.7704 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.4503, allocations: 4 kB / 0.7704 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.4503, allocations: 4 kB / 0.7704 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.4503, allocations: 0 / 0.7704 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.4503, allocations: 3.938 kB / 0.7704 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001011/0.4504, allocations: 85.12 kB / 0.7705 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.384e-05/0.4505, allocations: 84.95 kB / 0.7706 GB, free: 14.69 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.4505, allocations: 0 / 0.7706 GB, free: 14.69 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.654e-05/0.4505, allocations: 7.938 kB / 0.7706 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.225e-05/0.4505, allocations: 7.984 kB / 0.7706 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/0.4506, allocations: 4 kB / 0.7706 GB, free: 14.67 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.796e-05/0.4506, allocations: 83.22 kB / 0.7707 GB, free: 14.59 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4506, allocations: 0 / 0.7707 GB, free: 14.59 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002215/0.4508, allocations: 31.98 kB / 0.7707 GB, free: 14.55 MB / 0.545 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.000469/0.4513, allocations: 0.6554 MB / 0.7714 GB, free: 13.87 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.192e-05/0.4514, allocations: 31.98 kB / 0.7714 GB, free: 13.84 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4514, allocations: 0 / 0.7714 GB, free: 13.84 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.149e-05/0.4514, allocations: 15.94 kB / 0.7714 GB, free: 13.82 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001306/0.4516, allocations: 6.594 kB / 0.7714 GB, free: 13.82 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000381/0.452, allocations: 168.3 kB / 0.7716 GB, free: 13.61 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/0.4522, allocations: 0.6768 MB / 0.7722 GB, free: 12.91 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.279e-05/0.4523, allocations: 12 kB / 0.7723 GB, free: 12.89 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.688e-05/0.4523, allocations: 11.38 kB / 0.7723 GB, free: 12.89 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.4523, allocations: 4 kB / 0.7723 GB, free: 12.88 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01766/0.47, allocations: 2.247 MB / 0.7745 GB, free: 10.78 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.863/7.333, allocations: 8.688 kB / 0.7745 GB, free: 10.77 MB / 0.545 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)