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: translateModel(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree") translateModel(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 105.8 kB / 16.41 MB, free: 6.438 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.001346/0.001346, allocations: 189.5 kB / 17.34 MB, free: 5.707 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.259/1.259, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002239/0.002239, allocations: 297.8 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9181/0.9181, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001826/0.001826, allocations: 104.3 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3966/0.3984, allocations: 86.97 MB / 0.767 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree): time 0.002312/0.4008, allocations: 1.261 MB / 0.7682 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001101/0.4019, allocations: 0.6912 MB / 0.7689 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.513e-05/0.4019, allocations: 4 kB / 0.7689 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.149e-05/0.4019, allocations: 3.938 kB / 0.7689 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.552e-05/0.402, allocations: 3.984 kB / 0.7689 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004241/0.4024, allocations: 127.6 kB / 0.7691 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.668e-05/0.4025, allocations: 23.92 kB / 0.7691 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.548e-05/0.4025, allocations: 0 / 0.7691 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.102e-05/0.4026, allocations: 19.98 kB / 0.7691 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.263e-05/0.4027, allocations: 11.92 kB / 0.7691 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.4027, allocations: 4 kB / 0.7691 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003143/0.403, allocations: 159.8 kB / 0.7693 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.383e-05/0.4031, allocations: 4 kB / 0.7693 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.113e-05/0.4031, allocations: 7.938 kB / 0.7693 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001915/0.4033, allocations: 119.3 kB / 0.7694 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.4033, allocations: 0 / 0.7694 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.393e-06/0.4033, allocations: 0 / 0.7694 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.4033, allocations: 4 kB / 0.7694 GB, free: 1.473 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.0003838/0.4037, allocations: 346 kB / 0.7697 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.4038, allocations: 12.03 kB / 0.7697 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.927e-05/0.4038, allocations: 0.9375 kB / 0.7697 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.4039, allocations: 160.4 kB / 0.7699 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.614e-06/0.4039, allocations: 4.375 kB / 0.7699 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.4039, allocations: 384 / 0.7699 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.404, allocations: 46 kB / 0.7699 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.4041, allocations: 4 kB / 0.7699 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.4041, allocations: 0 / 0.7699 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.4041, allocations: 0 / 0.7699 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.726e-05/0.4041, allocations: 31.91 kB / 0.77 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001641/0.4043, allocations: 161.7 kB / 0.7701 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 6.639e-05/0.4044, allocations: 34.56 kB / 0.7702 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.474e-05/0.4044, allocations: 12.86 kB / 0.7702 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003742/0.4048, allocations: 190.3 kB / 0.7704 GB, free: 312 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.4048, allocations: 34.5 kB / 0.7704 GB, free: 268 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.4048, allocations: 0 / 0.7704 GB, free: 268 kB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.000171/0.405, allocations: 69.61 kB / 0.7704 GB, free: 192 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.4051, allocations: 55.34 kB / 0.7705 GB, free: 124 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.689e-05/0.4051, allocations: 97.86 kB / 0.7706 GB, free: 16 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.4051, allocations: 25.7 kB / 0.7706 GB, free: 15.98 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.575e-05/0.4052, allocations: 88.25 kB / 0.7707 GB, free: 15.89 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.339e-05/0.4052, allocations: 23.66 kB / 0.7707 GB, free: 15.87 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.063e-05/0.4053, allocations: 17.7 kB / 0.7707 GB, free: 15.85 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.609e-05/0.4054, allocations: 314.8 kB / 0.771 GB, free: 15.53 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.968e-05/0.4054, allocations: 4 kB / 0.771 GB, free: 15.53 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.894e-05/0.4054, allocations: 11.98 kB / 0.7711 GB, free: 15.52 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.831e-05/0.4055, allocations: 29.23 kB / 0.7711 GB, free: 15.48 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4055, allocations: 0 / 0.7711 GB, free: 15.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.375e-05/0.4056, allocations: 57.62 kB / 0.7711 GB, free: 15.42 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.4056, allocations: 15.94 kB / 0.7712 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.4056, allocations: 0 / 0.7712 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.4056, allocations: 0 / 0.7712 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.354e-05/0.4057, allocations: 8 kB / 0.7712 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/0.4057, allocations: 3.984 kB / 0.7712 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.924e-05/0.4057, allocations: 0 / 0.7712 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.4057, allocations: 4 kB / 0.7712 GB, free: 15.39 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.802e-05/0.4058, allocations: 113.8 kB / 0.7713 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.149e-05/0.4058, allocations: 3.938 kB / 0.7713 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001689/0.406, allocations: 89.08 kB / 0.7714 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.406, allocations: 0 / 0.7714 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.406, allocations: 0 / 0.7714 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.406, allocations: 3.984 kB / 0.7714 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.4061, allocations: 161.6 kB / 0.7715 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.4062, allocations: 0 / 0.7715 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.134e-05/0.4062, allocations: 11.98 kB / 0.7715 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.4062, allocations: 3.938 kB / 0.7715 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.4062, allocations: 4 kB / 0.7715 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.4062, allocations: 4 kB / 0.7716 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4062, allocations: 0 / 0.7716 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001009/0.4063, allocations: 85.19 kB / 0.7716 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.241e-05/0.4064, allocations: 89.02 kB / 0.7717 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.4064, allocations: 4 kB / 0.7717 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.869e-05/0.4064, allocations: 0 / 0.7717 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.026e-05/0.4065, allocations: 11.92 kB / 0.7717 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-06/0.4065, allocations: 4 kB / 0.7717 GB, free: 14.71 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.923e-05/0.4065, allocations: 83.28 kB / 0.7718 GB, free: 14.63 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4065, allocations: 0 / 0.7718 GB, free: 14.63 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002334/0.4067, allocations: 27.98 kB / 0.7718 GB, free: 14.6 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.0002067/0.407, allocations: 135.2 kB / 0.772 GB, free: 14.46 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.337e-05/0.4071, allocations: 31.92 kB / 0.772 GB, free: 14.43 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4071, allocations: 0 / 0.772 GB, free: 14.43 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.59e-05/0.4071, allocations: 19.98 kB / 0.772 GB, free: 14.41 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001334/0.4072, allocations: 4.094 kB / 0.772 GB, free: 14.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002734/0.4075, allocations: 152.4 kB / 0.7722 GB, free: 14.22 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002215/0.4078, allocations: 0.6807 MB / 0.7728 GB, free: 13.51 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.405e-05/0.4078, allocations: 15.38 kB / 0.7728 GB, free: 13.5 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.4078, allocations: 0 / 0.7728 GB, free: 13.5 MB / 0.545 GB Notification: Performance of Templates: time 0.002646/0.4104, allocations: 1.193 MB / 0.774 GB, free: 12.31 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.makefile (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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe 2>&1)