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.001578/0.001578, allocations: 113.3 kB / 16.41 MB, free: 6.465 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.001237/0.001237, allocations: 189.2 kB / 17.34 MB, free: 5.715 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.428/1.428, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002533/0.002533, allocations: 293.1 kB / 291.5 MB, free: 14.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.019/1.019, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002786/0.002786, allocations: 95.84 kB / 0.6821 GB, free: 7.012 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4227/0.4254, allocations: 86.99 MB / 0.767 GB, free: 3.793 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree): time 0.002647/0.4281, allocations: 1.252 MB / 0.7682 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.4292, allocations: 0.699 MB / 0.7689 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.538e-05/0.4293, allocations: 0 / 0.7689 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.332e-05/0.4293, allocations: 7.922 kB / 0.7689 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.569e-05/0.4293, allocations: 3.938 kB / 0.7689 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003642/0.4297, allocations: 127.7 kB / 0.7691 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.905e-05/0.4298, allocations: 23.92 kB / 0.7691 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.306e-05/0.4298, allocations: 0 / 0.7691 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.421e-05/0.4299, allocations: 23.92 kB / 0.7691 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.927e-05/0.4299, allocations: 11.92 kB / 0.7691 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.005e-05/0.4299, allocations: 0 / 0.7691 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002769/0.4302, allocations: 155.8 kB / 0.7693 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.337e-05/0.4302, allocations: 8 kB / 0.7693 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.574e-05/0.4302, allocations: 7.938 kB / 0.7693 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001912/0.4304, allocations: 115.1 kB / 0.7694 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.4304, allocations: 0 / 0.7694 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.082e-06/0.4304, allocations: 0 / 0.7694 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.4304, allocations: 0 / 0.7694 GB, free: 1.363 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.0004045/0.4308, allocations: 349.5 kB / 0.7697 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 2.964e-05/0.4309, allocations: 8.031 kB / 0.7697 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.856e-05/0.4309, allocations: 4.938 kB / 0.7697 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.431, allocations: 168.3 kB / 0.7699 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.275e-06/0.4311, allocations: 384 / 0.7699 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/0.4311, allocations: 4.375 kB / 0.7699 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.4312, allocations: 50 kB / 0.77 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.4312, allocations: 0 / 0.77 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.4312, allocations: 8 kB / 0.77 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.4312, allocations: 0 / 0.77 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.06e-05/0.4313, allocations: 19.98 kB / 0.77 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001741/0.4314, allocations: 157.7 kB / 0.7701 GB, free: 484 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.014e-05/0.4315, allocations: 42.5 kB / 0.7702 GB, free: 432 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.908e-05/0.4316, allocations: 12.84 kB / 0.7702 GB, free: 416 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003677/0.4319, allocations: 190.3 kB / 0.7704 GB, free: 188 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.432, allocations: 38.5 kB / 0.7704 GB, free: 140 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.432, allocations: 0 / 0.7704 GB, free: 140 kB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.0001703/0.4321, allocations: 65.64 kB / 0.7705 GB, free: 68 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/0.4322, allocations: 51.41 kB / 0.7705 GB, free: 4 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.723e-05/0.4322, allocations: 101.8 kB / 0.7706 GB, free: 15.89 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.4323, allocations: 25.7 kB / 0.7706 GB, free: 15.86 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.779e-05/0.4323, allocations: 84.08 kB / 0.7707 GB, free: 15.78 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.716e-05/0.4323, allocations: 23.95 kB / 0.7707 GB, free: 15.75 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.49e-05/0.4324, allocations: 17.72 kB / 0.7708 GB, free: 15.73 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.4325, allocations: 314.8 kB / 0.7711 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.192e-05/0.4325, allocations: 7.984 kB / 0.7711 GB, free: 15.41 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.792e-05/0.4325, allocations: 11.94 kB / 0.7711 GB, free: 15.39 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.159e-05/0.4326, allocations: 24.86 kB / 0.7711 GB, free: 15.37 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.4326, allocations: 0 / 0.7711 GB, free: 15.37 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.992e-05/0.4327, allocations: 53.69 kB / 0.7711 GB, free: 15.31 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.4327, allocations: 11.94 kB / 0.7712 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.4327, allocations: 4 kB / 0.7712 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.4327, allocations: 0 / 0.7712 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.912e-05/0.4328, allocations: 16.36 kB / 0.7712 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-06/0.4328, allocations: 0 / 0.7712 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.941e-05/0.4328, allocations: 3.953 kB / 0.7712 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.577e-06/0.4328, allocations: 8 kB / 0.7712 GB, free: 15.27 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 7.754e-05/0.4329, allocations: 112.2 kB / 0.7713 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.167e-05/0.4329, allocations: 3.938 kB / 0.7713 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000169/0.4331, allocations: 81.23 kB / 0.7714 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.4331, allocations: 3.984 kB / 0.7714 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.4331, allocations: 0 / 0.7714 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.4331, allocations: 0 / 0.7714 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/0.4332, allocations: 161.7 kB / 0.7715 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4332, allocations: 3.938 kB / 0.7715 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.317e-05/0.4333, allocations: 8 kB / 0.7715 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.4333, allocations: 3.938 kB / 0.7716 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.4333, allocations: 4 kB / 0.7716 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.4333, allocations: 3.938 kB / 0.7716 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4333, allocations: 4 kB / 0.7716 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000121/0.4334, allocations: 85.08 kB / 0.7716 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.253e-05/0.4335, allocations: 92.97 kB / 0.7717 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.049e-05/0.4335, allocations: 0 / 0.7717 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.718e-05/0.4335, allocations: 0 / 0.7717 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.054e-05/0.4335, allocations: 4 kB / 0.7717 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.4335, allocations: 3.938 kB / 0.7717 GB, free: 14.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.669e-05/0.4336, allocations: 91.22 kB / 0.7718 GB, free: 14.51 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.4336, allocations: 0 / 0.7718 GB, free: 14.51 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002295/0.4338, allocations: 31.92 kB / 0.7719 GB, free: 14.48 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.0002257/0.434, allocations: 135.1 kB / 0.772 GB, free: 14.34 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.729e-05/0.4341, allocations: 23.98 kB / 0.772 GB, free: 14.31 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4341, allocations: 0 / 0.772 GB, free: 14.31 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.853e-05/0.4342, allocations: 15.94 kB / 0.772 GB, free: 14.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001332/0.4343, allocations: 8 kB / 0.772 GB, free: 14.29 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002717/0.4346, allocations: 122.8 kB / 0.7722 GB, free: 14.14 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004154/0.435, allocations: 0.6768 MB / 0.7728 GB, free: 13.44 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.848e-05/0.435, allocations: 11.94 kB / 0.7728 GB, free: 13.43 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.009e-05/0.435, allocations: 11.42 kB / 0.7728 GB, free: 13.42 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.435, allocations: 0 / 0.7728 GB, free: 13.42 MB / 0.545 GB Notification: Performance of Templates: time 0.003967/0.439, allocations: 1.316 MB / 0.7741 GB, free: 12.1 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe 2>&1)