Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007592/0.0007593, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.0008541/0.0008542, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.405/1.405, allocations: 205.4 MB / 222.1 MB, free: 5.609 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.69/1.69, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004666/0.0004667, allocations: 13.06 kB / 0.6737 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.237, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.001077/0.2381, allocations: 0.5401 MB / 0.7878 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001639/0.2383, allocations: 51.72 kB / 0.7879 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.069e-05/0.2384, allocations: 0 / 0.7879 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.428e-05/0.2385, allocations: 3.938 kB / 0.7879 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001019/0.2386, allocations: 7.922 kB / 0.7879 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.658e-05/0.2386, allocations: 12 kB / 0.7879 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.2387, allocations: 59.84 kB / 0.7879 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.2389, allocations: 41.55 kB / 0.788 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.55e-05/0.2389, allocations: 23.81 kB / 0.788 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.899e-05/0.239, allocations: 23.84 kB / 0.788 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.239, allocations: 0 / 0.788 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.095e-05/0.239, allocations: 4 kB / 0.788 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.168e-05/0.2391, allocations: 3.938 kB / 0.788 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.739e-05/0.2391, allocations: 37.64 kB / 0.7881 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.829e-05/0.2392, allocations: 64.08 kB / 0.7881 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.2392, allocations: 4 kB / 0.7881 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.384e-06/0.2392, allocations: 0 / 0.7881 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.2392, allocations: 0 / 0.7881 GB, free: 11.04 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004723/0.2397, allocations: 371 kB / 0.7885 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.2398, allocations: 8.031 kB / 0.7885 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.173e-05/0.2398, allocations: 11.91 kB / 0.7885 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002806/0.2401, allocations: 201.6 kB / 0.7887 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.2401, allocations: 7.938 kB / 0.7887 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.2402, allocations: 12 kB / 0.7887 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.2404, allocations: 91.39 kB / 0.7888 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.2404, allocations: 0 / 0.7888 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.2404, allocations: 3.984 kB / 0.7888 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.2404, allocations: 4 kB / 0.7888 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.083e-05/0.2405, allocations: 39.92 kB / 0.7889 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007623/0.2413, allocations: 444.5 kB / 0.7893 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.221e-05/0.2414, allocations: 49.23 kB / 0.7893 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.57e-05/0.2414, allocations: 14.91 kB / 0.7893 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.2414, allocations: 0 / 0.7893 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.109e-05/0.2415, allocations: 34.56 kB / 0.7894 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.443e-06/0.2416, allocations: 0 / 0.7894 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.000196/0.2418, allocations: 57.55 kB / 0.7894 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.188e-05/0.2418, allocations: 81.09 kB / 0.7895 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002054/0.242, allocations: 171.3 kB / 0.7897 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.2421, allocations: 25.7 kB / 0.7897 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.2422, allocations: 120.1 kB / 0.7898 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.147e-05/0.2422, allocations: 11.92 kB / 0.7898 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.816e-06/0.2422, allocations: 0 / 0.7898 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.2424, allocations: 322.8 kB / 0.7901 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.478e-05/0.2424, allocations: 4 kB / 0.7901 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.711e-05/0.2424, allocations: 17.72 kB / 0.7901 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.953e-05/0.2425, allocations: 8 kB / 0.7902 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2425, allocations: 0 / 0.7902 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001265/0.2426, allocations: 77.39 kB / 0.7902 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.2426, allocations: 6.656 kB / 0.7902 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.2426, allocations: 0 / 0.7902 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.2427, allocations: 4 kB / 0.7902 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.888e-05/0.2427, allocations: 4 kB / 0.7902 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.2428, allocations: 3.984 kB / 0.7902 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.038e-05/0.2428, allocations: 8 kB / 0.7903 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.2428, allocations: 0 / 0.7903 GB, free: 8.621 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001038/0.2429, allocations: 118.6 kB / 0.7904 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.915e-05/0.243, allocations: 11.95 kB / 0.7904 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.394e-05/0.243, allocations: 20.48 kB / 0.7904 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.243, allocations: 0 / 0.7904 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.243, allocations: 4 kB / 0.7904 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.243, allocations: 3.984 kB / 0.7904 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000472/0.2435, allocations: 474.7 kB / 0.7909 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.2435, allocations: 8.062 kB / 0.7909 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.614e-05/0.2436, allocations: 0 / 0.7909 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.2436, allocations: 4 kB / 0.7909 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.2436, allocations: 0 / 0.7909 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.2436, allocations: 3.938 kB / 0.7909 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.2436, allocations: 0 / 0.7909 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001002/0.2437, allocations: 89.84 kB / 0.791 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.921e-05/0.2438, allocations: 92.94 kB / 0.791 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.2438, allocations: 4 kB / 0.791 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.298e-05/0.2438, allocations: 0 / 0.791 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.878e-05/0.2439, allocations: 0 / 0.791 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.2439, allocations: 4 kB / 0.7911 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.727e-05/0.244, allocations: 120 kB / 0.7912 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.244, allocations: 0 / 0.7912 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001887/0.2442, allocations: 12 kB / 0.7912 GB, free: 7.559 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001534/0.2443, allocations: 103.3 kB / 0.7913 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.174e-05/0.2444, allocations: 19.94 kB / 0.7913 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.2445, allocations: 0 / 0.7913 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.278e-05/0.2445, allocations: 4 kB / 0.7913 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001781/0.2447, allocations: 15.89 kB / 0.7913 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003873/0.245, allocations: 202.1 kB / 0.7915 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000251/0.2453, allocations: 0.6965 MB / 0.7922 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.899e-05/0.2454, allocations: 12.42 kB / 0.7922 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.32e-05/0.2454, allocations: 11.44 kB / 0.7922 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of SimCode: time 5.81e-07/0.2454, allocations: 0 / 0.7922 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of Templates: time 0.002644/0.248, allocations: 447.9 kB / 0.7926 GB, free: 6 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_hp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) Environment - environmentSimulation: