Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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_bar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 101.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 198.3 kB / 16.64 MB, free: 6.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.558/1.558, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.817/1.817, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.00143/0.00143, allocations: 68 kB / 0.6723 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2685/0.2699, allocations: 114.5 MB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002327/0.2723, allocations: 0.8526 MB / 0.785 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001396/0.2724, allocations: 47.77 kB / 0.785 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.451e-05/0.2725, allocations: 0 / 0.785 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.861e-05/0.2726, allocations: 7.875 kB / 0.785 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.017e-05/0.2727, allocations: 15.88 kB / 0.785 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.369e-05/0.2727, allocations: 19.97 kB / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001127/0.2729, allocations: 75.77 kB / 0.7851 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.273, allocations: 37.39 kB / 0.7852 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.667e-05/0.2731, allocations: 27.86 kB / 0.7852 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.126e-05/0.2732, allocations: 39.72 kB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.315e-05/0.2732, allocations: 8 kB / 0.7852 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.239e-05/0.2732, allocations: 8 kB / 0.7852 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.38e-05/0.2732, allocations: 11.94 kB / 0.7852 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.485e-05/0.2733, allocations: 35.8 kB / 0.7853 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001226/0.2734, allocations: 87.56 kB / 0.7854 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2734, allocations: 3.938 kB / 0.7854 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.893e-06/0.2734, allocations: 0 / 0.7854 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.618e-06/0.2735, allocations: 0 / 0.7854 GB, free: 11.46 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.000523/0.274, allocations: 391.1 kB / 0.7857 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.274, allocations: 12.03 kB / 0.7858 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.785e-05/0.2741, allocations: 12.75 kB / 0.7858 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/0.2743, allocations: 199.2 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.2743, allocations: 4.375 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.2743, allocations: 8.375 kB / 0.786 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.2745, allocations: 98.55 kB / 0.7861 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.2745, allocations: 192 / 0.7861 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.2746, allocations: 11.94 kB / 0.7861 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.2746, allocations: 0 / 0.7861 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.179e-05/0.2747, allocations: 35.98 kB / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005748/0.2752, allocations: 444.5 kB / 0.7865 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.712e-05/0.2753, allocations: 41.16 kB / 0.7866 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.871e-05/0.2754, allocations: 17.84 kB / 0.7866 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.665e-06/0.2754, allocations: 0 / 0.7866 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.2754, allocations: 42.58 kB / 0.7866 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.2754, allocations: 0 / 0.7866 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001799/0.2756, allocations: 65.48 kB / 0.7867 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.2756, allocations: 77.11 kB / 0.7868 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.2758, allocations: 164.5 kB / 0.7869 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.2758, allocations: 25.7 kB / 0.7869 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.528e-05/0.2759, allocations: 115.8 kB / 0.7871 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.25e-05/0.2759, allocations: 11.89 kB / 0.7871 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.288e-05/0.276, allocations: 17.72 kB / 0.7871 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.2761, allocations: 319.1 kB / 0.7874 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.772e-05/0.2761, allocations: 8 kB / 0.7874 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.29e-05/0.2761, allocations: 17.72 kB / 0.7874 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.714e-05/0.2762, allocations: 33.66 kB / 0.7874 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.2762, allocations: 0 / 0.7874 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.248e-05/0.2763, allocations: 61.59 kB / 0.7875 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.2763, allocations: 8.062 kB / 0.7875 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.2763, allocations: 3.938 kB / 0.7875 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.2764, allocations: 0 / 0.7875 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.789e-05/0.2764, allocations: 11.94 kB / 0.7875 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.2764, allocations: 3.984 kB / 0.7875 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.423e-05/0.2765, allocations: 7.906 kB / 0.7875 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.2765, allocations: 0 / 0.7875 GB, free: 8.973 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.588e-05/0.2766, allocations: 122.4 kB / 0.7877 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.421e-05/0.2766, allocations: 7.906 kB / 0.7877 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.721e-05/0.2767, allocations: 20.5 kB / 0.7877 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.2767, allocations: 4 kB / 0.7877 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.2767, allocations: 0 / 0.7877 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.2767, allocations: 96 / 0.7877 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004328/0.2771, allocations: 486.7 kB / 0.7881 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.2771, allocations: 0 / 0.7881 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.409e-05/0.2772, allocations: 4 kB / 0.7882 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.2772, allocations: 0 / 0.7882 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.2772, allocations: 8.062 kB / 0.7882 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2772, allocations: 0 / 0.7882 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2772, allocations: 0 / 0.7882 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.106e-05/0.2773, allocations: 85.77 kB / 0.7882 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.95e-05/0.2774, allocations: 92.91 kB / 0.7883 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.2774, allocations: 8 kB / 0.7883 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.415e-05/0.2775, allocations: 4.031 kB / 0.7883 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.404e-05/0.2775, allocations: 0 / 0.7883 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.2775, allocations: 0 / 0.7883 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.208e-05/0.2776, allocations: 130 kB / 0.7885 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2776, allocations: 0 / 0.7885 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001877/0.2778, allocations: 12 kB / 0.7885 GB, free: 7.898 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 (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.0001322/0.2779, allocations: 95.25 kB / 0.7886 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.23e-05/0.278, allocations: 27.92 kB / 0.7886 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.278, allocations: 0 / 0.7886 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.533e-05/0.2781, allocations: 8 kB / 0.7886 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001644/0.2782, allocations: 7.938 kB / 0.7886 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003454/0.2786, allocations: 174.2 kB / 0.7888 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003183/0.2789, allocations: 0.7004 MB / 0.7895 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.669e-05/0.279, allocations: 8.422 kB / 0.7895 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.071e-05/0.279, allocations: 15.38 kB / 0.7895 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of SimCode: time 3.5e-07/0.279, allocations: 0 / 0.7895 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of Templates: time 0.002591/0.2816, allocations: 493.4 kB / 0.79 GB, free: 6.32 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1)