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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008585/0.0008585, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 169 kB / 23.27 MB, free: 1.223 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.04/1.04, allocations: 177.2 MB / 203.7 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001569/0.001569, allocations: 233.9 kB / 260.5 MB, free: 12.67 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7797/0.7797, allocations: 138.4 MB / 455.5 MB, free: 1.383 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree") translateModel(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.166e-06/3.166e-06, allocations: 3.984 kB / 0.5556 GB, free: 296 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.567e-05/1.884e-05, allocations: 2.312 kB / 0.5556 GB, free: 292 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree): time 0.001487/0.001506, allocations: 1.29 MB / 0.5568 GB, free: 14.98 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000865/0.002371, allocations: 0.7322 MB / 0.5575 GB, free: 14.24 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.03e-05/0.002401, allocations: 0 / 0.5575 GB, free: 14.24 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.698e-05/0.002418, allocations: 0 / 0.5575 GB, free: 14.24 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.69e-05/0.002455, allocations: 3.984 kB / 0.5575 GB, free: 14.24 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003331/0.002788, allocations: 135.5 kB / 0.5577 GB, free: 14.11 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.723e-05/0.002835, allocations: 19.94 kB / 0.5577 GB, free: 14.09 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.247e-05/0.002868, allocations: 7.969 kB / 0.5577 GB, free: 14.08 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.002984, allocations: 27.86 kB / 0.5577 GB, free: 14.05 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.051e-05/0.003024, allocations: 8 kB / 0.5577 GB, free: 14.04 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/0.003036, allocations: 0 / 0.5577 GB, free: 14.04 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002231/0.003259, allocations: 171.7 kB / 0.5579 GB, free: 13.88 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.067e-05/0.00327, allocations: 3.984 kB / 0.5579 GB, free: 13.87 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.264e-05/0.003282, allocations: 4 kB / 0.5579 GB, free: 13.87 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001581/0.003441, allocations: 143.5 kB / 0.558 GB, free: 13.73 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.003444, allocations: 4 kB / 0.558 GB, free: 13.72 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.003444, allocations: 0 / 0.558 GB, free: 13.72 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.756e-06/0.003447, allocations: 0 / 0.558 GB, free: 13.72 MB / 490.7 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.0003249/0.003772, allocations: 376.4 kB / 0.5584 GB, free: 13.32 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.003805, allocations: 16.75 kB / 0.5584 GB, free: 13.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.692e-05/0.003872, allocations: 4.938 kB / 0.5584 GB, free: 13.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.968e-05/0.003932, allocations: 104.6 kB / 0.5585 GB, free: 13.17 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.003943, allocations: 4.375 kB / 0.5585 GB, free: 13.17 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.182e-06/0.003949, allocations: 4.375 kB / 0.5585 GB, free: 13.16 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.977e-05/0.004009, allocations: 34.25 kB / 0.5586 GB, free: 13.12 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.15e-06/0.004014, allocations: 4.125 kB / 0.5586 GB, free: 13.12 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.004021, allocations: 8.375 kB / 0.5586 GB, free: 13.11 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.004026, allocations: 3.938 kB / 0.5586 GB, free: 13.11 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.704e-05/0.004053, allocations: 15.97 kB / 0.5586 GB, free: 13.09 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.518e-05/0.004148, allocations: 105.3 kB / 0.5587 GB, free: 12.96 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.276e-05/0.004191, allocations: 42.97 kB / 0.5587 GB, free: 12.91 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.373e-05/0.004205, allocations: 11.69 kB / 0.5587 GB, free: 12.89 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001824/0.004387, allocations: 47.72 kB / 0.5588 GB, free: 12.85 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.715e-05/0.004404, allocations: 33.39 kB / 0.5588 GB, free: 12.81 MB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 8.71e-07/0.004405, allocations: 4 kB / 0.5588 GB, free: 12.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001078/0.004513, allocations: 57.58 kB / 0.5589 GB, free: 12.74 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.179e-05/0.004535, allocations: 59.39 kB / 0.5589 GB, free: 12.67 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.252e-05/0.004597, allocations: 157.9 kB / 0.5591 GB, free: 12.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.004608, allocations: 33.7 kB / 0.5591 GB, free: 12.46 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.795e-05/0.004636, allocations: 126.9 kB / 0.5592 GB, free: 12.33 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.457e-05/0.004661, allocations: 15.83 kB / 0.5593 GB, free: 12.32 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.549e-05/0.004686, allocations: 27.36 kB / 0.5593 GB, free: 12.28 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.555e-05/0.004782, allocations: 496.1 kB / 0.5598 GB, free: 11.79 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.586e-06/0.004791, allocations: 4 kB / 0.5598 GB, free: 11.78 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.969e-06/0.004801, allocations: 7.984 kB / 0.5598 GB, free: 11.77 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.718e-05/0.004828, allocations: 19.62 kB / 0.5598 GB, free: 11.75 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.004829, allocations: 0 / 0.5598 GB, free: 11.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.246e-05/0.004881, allocations: 53.69 kB / 0.5598 GB, free: 11.69 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.004892, allocations: 11.09 kB / 0.5599 GB, free: 11.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.004895, allocations: 0 / 0.5599 GB, free: 11.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.825e-06/0.004903, allocations: 0 / 0.5599 GB, free: 11.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.835e-05/0.004941, allocations: 8 kB / 0.5599 GB, free: 11.68 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.004945, allocations: 3.984 kB / 0.5599 GB, free: 11.67 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.117e-05/0.004956, allocations: 11.89 kB / 0.5599 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.946e-06/0.004959, allocations: 0 / 0.5599 GB, free: 11.66 MB / 490.7 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.305e-05/0.005012, allocations: 168.5 kB / 0.56 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.939e-06/0.005017, allocations: 0 / 0.56 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.871e-05/0.005115, allocations: 81.91 kB / 0.5601 GB, free: 11.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.005117, allocations: 0 / 0.5601 GB, free: 11.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.005118, allocations: 64 / 0.5601 GB, free: 11.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.005122, allocations: 7.938 kB / 0.5601 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.719e-05/0.00518, allocations: 97.27 kB / 0.5602 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.00518, allocations: 0 / 0.5602 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.181e-05/0.005202, allocations: 15.98 kB / 0.5602 GB, free: 11.26 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.005204, allocations: 0 / 0.5602 GB, free: 11.26 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.137e-06/0.005208, allocations: 0 / 0.5602 GB, free: 11.26 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.005211, allocations: 7.938 kB / 0.5602 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.51e-07/0.005211, allocations: 4 kB / 0.5602 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.376e-05/0.005275, allocations: 96.27 kB / 0.5603 GB, free: 11.13 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5e-06/0.00528, allocations: 3.938 kB / 0.5603 GB, free: 11.12 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.436e-06/0.005288, allocations: 4 kB / 0.5603 GB, free: 11.12 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.845e-06/0.005296, allocations: 4 kB / 0.5603 GB, free: 11.12 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.13e-05/0.005308, allocations: 3.984 kB / 0.5603 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.005311, allocations: 4 kB / 0.5604 GB, free: 11.11 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.681e-05/0.005338, allocations: 123.2 kB / 0.5605 GB, free: 10.99 MB / 490.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005338, allocations: 0 / 0.5605 GB, free: 10.99 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001655/0.005503, allocations: 39.92 kB / 0.5605 GB, free: 10.95 MB / 490.7 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.0001481/0.005651, allocations: 139.2 kB / 0.5606 GB, free: 10.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.118e-05/0.005712, allocations: 39.53 kB / 0.5607 GB, free: 10.76 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.005714, allocations: 0 / 0.5607 GB, free: 10.76 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.415e-05/0.005728, allocations: 19.69 kB / 0.5607 GB, free: 10.74 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.146e-05/0.005819, allocations: 6.422 kB / 0.5607 GB, free: 10.73 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001694/0.005989, allocations: 126.3 kB / 0.5608 GB, free: 10.58 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.409e-05/0.006013, allocations: 55.36 kB / 0.5609 GB, free: 10.51 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.525e-05/0.006038, allocations: 11.94 kB / 0.5609 GB, free: 10.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.439e-05/0.006072, allocations: 74.19 kB / 0.561 GB, free: 10.42 MB / 490.7 MB Notification: Performance of SimCode: time 5.01e-07/0.006073, allocations: 0 / 0.561 GB, free: 10.42 MB / 490.7 MB Notification: Performance of Templates: time 0.002866/0.008938, allocations: 1.683 MB / 0.5626 GB, free: 8.742 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6218459070660174]