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.00142/0.00142, allocations: 109 kB / 16.41 MB, free: 6.488 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.001654/0.001655, allocations: 187 kB / 17.34 MB, free: 5.73 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.307/1.307, 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.002/0.002, allocations: 285.7 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9166/0.9166, allocations: 169.2 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00185/0.001851, allocations: 95.83 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3936/0.3955, allocations: 86.98 MB / 0.767 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree): time 0.002184/0.3977, allocations: 1.241 MB / 0.7682 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001097/0.3988, allocations: 0.7107 MB / 0.7689 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.779e-05/0.3989, allocations: 0 / 0.7689 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.891e-05/0.3989, allocations: 4 kB / 0.7689 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.393e-05/0.399, allocations: 3.938 kB / 0.7689 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004204/0.3994, allocations: 123.7 kB / 0.769 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.183e-05/0.3995, allocations: 23.92 kB / 0.7691 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.316e-05/0.3995, allocations: 4 kB / 0.7691 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.218e-05/0.3996, allocations: 7.984 kB / 0.7691 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.223e-05/0.3997, allocations: 19.92 kB / 0.7691 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.3997, allocations: 0 / 0.7691 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003409/0.4, allocations: 163.8 kB / 0.7693 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.152e-05/0.4, allocations: 0 / 0.7693 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.496e-05/0.4001, allocations: 19.86 kB / 0.7693 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001917/0.4003, allocations: 107.4 kB / 0.7694 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.716e-06/0.4003, allocations: 0 / 0.7694 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4003, allocations: 0 / 0.7694 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.4003, allocations: 4 kB / 0.7694 GB, free: 1.461 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.0003955/0.4007, allocations: 342 kB / 0.7697 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.4007, allocations: 8.031 kB / 0.7697 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.669e-05/0.4008, allocations: 8.938 kB / 0.7697 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.4009, allocations: 168.4 kB / 0.7699 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.4009, allocations: 384 / 0.7699 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-06/0.401, allocations: 384 / 0.7699 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.4011, allocations: 49.94 kB / 0.7699 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.4011, allocations: 0 / 0.7699 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.4011, allocations: 0 / 0.7699 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-06/0.4011, allocations: 4 kB / 0.7699 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.929e-05/0.4012, allocations: 27.97 kB / 0.77 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001733/0.4014, allocations: 165.7 kB / 0.7701 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 6.428e-05/0.4014, allocations: 30.64 kB / 0.7702 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.784e-05/0.4015, allocations: 20.97 kB / 0.7702 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003623/0.4018, allocations: 186.2 kB / 0.7704 GB, free: 292 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.4019, allocations: 38.44 kB / 0.7704 GB, free: 244 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.4019, allocations: 0 / 0.7704 GB, free: 244 kB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.0001723/0.402, allocations: 65.69 kB / 0.7705 GB, free: 172 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.4021, allocations: 55.34 kB / 0.7705 GB, free: 104 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.493e-05/0.4022, allocations: 97.91 kB / 0.7706 GB, free: 15.99 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.4022, allocations: 29.64 kB / 0.7706 GB, free: 15.96 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.061e-05/0.4022, allocations: 80.14 kB / 0.7707 GB, free: 15.88 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.371e-05/0.4023, allocations: 19.66 kB / 0.7707 GB, free: 15.86 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.108e-05/0.4023, allocations: 17.72 kB / 0.7707 GB, free: 15.84 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.505e-05/0.4024, allocations: 319 kB / 0.771 GB, free: 15.52 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.017e-05/0.4024, allocations: 8 kB / 0.771 GB, free: 15.51 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.718e-05/0.4024, allocations: 8 kB / 0.7711 GB, free: 15.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.732e-05/0.4025, allocations: 32.78 kB / 0.7711 GB, free: 15.46 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4025, allocations: 0 / 0.7711 GB, free: 15.46 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.647e-05/0.4026, allocations: 53.69 kB / 0.7711 GB, free: 15.41 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.4026, allocations: 11.94 kB / 0.7711 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.4026, allocations: 0 / 0.7711 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.4027, allocations: 0 / 0.7711 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.181e-05/0.4027, allocations: 8 kB / 0.7712 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.4027, allocations: 4 kB / 0.7712 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.064e-05/0.4028, allocations: 3.984 kB / 0.7712 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.4028, allocations: 8.375 kB / 0.7712 GB, free: 15.37 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.32e-05/0.4028, allocations: 113.1 kB / 0.7713 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.302e-05/0.4029, allocations: 7.922 kB / 0.7713 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001598/0.403, allocations: 81.16 kB / 0.7714 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.403, allocations: 3.984 kB / 0.7714 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.403, allocations: 4 kB / 0.7714 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.403, allocations: 0 / 0.7714 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001125/0.4032, allocations: 165.6 kB / 0.7715 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.4032, allocations: 0 / 0.7715 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.962e-05/0.4032, allocations: 8 kB / 0.7715 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.4032, allocations: 7.938 kB / 0.7715 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.301e-06/0.4032, allocations: 0 / 0.7715 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.4032, allocations: 3.938 kB / 0.7716 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.4033, allocations: 3.984 kB / 0.7716 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001039/0.4034, allocations: 89.12 kB / 0.7716 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.387e-05/0.4034, allocations: 84.95 kB / 0.7717 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.119e-05/0.4034, allocations: 0 / 0.7717 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.882e-05/0.4035, allocations: 0 / 0.7717 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.91e-05/0.4035, allocations: 7.938 kB / 0.7717 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.4035, allocations: 3.984 kB / 0.7717 GB, free: 14.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.245e-05/0.4035, allocations: 79.28 kB / 0.7718 GB, free: 14.62 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4035, allocations: 0 / 0.7718 GB, free: 14.62 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002499/0.4038, allocations: 35.94 kB / 0.7718 GB, free: 14.59 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.000249/0.404, allocations: 131.3 kB / 0.772 GB, free: 14.45 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.98e-05/0.4041, allocations: 35.92 kB / 0.772 GB, free: 14.41 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.4042, allocations: 0 / 0.772 GB, free: 14.41 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.516e-05/0.4042, allocations: 12 kB / 0.772 GB, free: 14.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001339/0.4043, allocations: 4 kB / 0.772 GB, free: 14.39 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002632/0.4046, allocations: 160.3 kB / 0.7722 GB, free: 14.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002158/0.4048, allocations: 0.6807 MB / 0.7728 GB, free: 13.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.472e-05/0.4049, allocations: 15.42 kB / 0.7728 GB, free: 13.48 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.4049, allocations: 0 / 0.7728 GB, free: 13.48 MB / 0.545 GB Notification: Performance of Templates: time 0.002637/0.4075, allocations: 1.192 MB / 0.774 GB, free: 12.29 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)