Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.457/2.457, allocations: 251.2 MB / 266.2 MB, free: 11.51 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002053/0.002053, allocations: 181.4 kB / 325.8 MB, free: 2.785 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.857/2.857, allocations: 205.4 MB / 0.5767 GB, free: 21.05 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009987/0.0009987, allocations: 87.98 kB / 0.6812 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0008015/0.0008018, allocations: 11.88 kB / 0.7953 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/0.2575, allocations: 106.3 MB / 0.899 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001534/0.2591, allocations: 0.557 MB / 0.8996 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000177/0.2593, allocations: 39.78 kB / 0.8996 GB, free: 65.29 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.682e-05/0.2594, allocations: 7.938 kB / 0.8996 GB, free: 65.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.398e-05/0.2594, allocations: 7.938 kB / 0.8996 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001086/0.2596, allocations: 11.92 kB / 0.8996 GB, free: 65.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 7.634e-05/0.2597, allocations: 11.98 kB / 0.8997 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001458/0.2598, allocations: 55.86 kB / 0.8997 GB, free: 65.19 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002345/0.2601, allocations: 45.5 kB / 0.8998 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.145e-05/0.2602, allocations: 19.86 kB / 0.8998 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.635e-05/0.2603, allocations: 23.8 kB / 0.8998 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.2603, allocations: 4 kB / 0.8998 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.312e-05/0.2603, allocations: 0 / 0.8998 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.554e-05/0.2604, allocations: 15.92 kB / 0.8998 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.658e-05/0.2605, allocations: 37.64 kB / 0.8999 GB, free: 65.03 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001207/0.2606, allocations: 51.88 kB / 0.8999 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.2606, allocations: 0 / 0.8999 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.194e-06/0.2606, allocations: 0 / 0.8999 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.2606, allocations: 0 / 0.8999 GB, free: 64.98 MB / 0.6042 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.0005004/0.2612, allocations: 380.2 kB / 0.9003 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.2612, allocations: 8.031 kB / 0.9003 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.781e-05/0.2613, allocations: 12.83 kB / 0.9003 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002499/0.2615, allocations: 192.2 kB / 0.9005 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.2616, allocations: 8.375 kB / 0.9005 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.2616, allocations: 4.375 kB / 0.9005 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002349/0.2619, allocations: 95.88 kB / 0.9006 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.2619, allocations: 7.938 kB / 0.9006 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.2619, allocations: 11.94 kB / 0.9006 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.2619, allocations: 0 / 0.9006 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001486/0.2621, allocations: 43.86 kB / 0.9006 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007801/0.2629, allocations: 440.6 kB / 0.9011 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.512e-05/0.263, allocations: 45.25 kB / 0.9011 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.271e-05/0.2631, allocations: 13.72 kB / 0.9011 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.181e-05/0.2631, allocations: 4.062 kB / 0.9011 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.2631, allocations: 30.56 kB / 0.9011 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 2.033e-06/0.2631, allocations: 0 / 0.9011 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0002857/0.2634, allocations: 65.47 kB / 0.9012 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/0.2635, allocations: 81.11 kB / 0.9013 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002258/0.2637, allocations: 168 kB / 0.9014 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.2638, allocations: 25.7 kB / 0.9015 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.286e-05/0.2639, allocations: 108 kB / 0.9016 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.409e-05/0.2639, allocations: 7.906 kB / 0.9016 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-06/0.2639, allocations: 0 / 0.9016 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.865e-05/0.264, allocations: 319.1 kB / 0.9019 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.486e-05/0.264, allocations: 12 kB / 0.9019 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.815e-05/0.2641, allocations: 25.72 kB / 0.9019 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.174e-05/0.2642, allocations: 15.92 kB / 0.9019 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2642, allocations: 0 / 0.9019 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001859/0.2644, allocations: 53.61 kB / 0.902 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/0.2644, allocations: 7.938 kB / 0.902 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.2644, allocations: 64 / 0.902 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.2645, allocations: 4 kB / 0.902 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.2646, allocations: 11.98 kB / 0.902 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.2646, allocations: 3.938 kB / 0.902 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.058e-05/0.2647, allocations: 7.844 kB / 0.902 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.2648, allocations: 8 kB / 0.902 GB, free: 62.55 MB / 0.6042 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.0001087/0.2649, allocations: 113.8 kB / 0.9021 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.538e-05/0.265, allocations: 11.84 kB / 0.9021 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.413e-05/0.265, allocations: 8.562 kB / 0.9022 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.2651, allocations: 4 kB / 0.9022 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.2651, allocations: 3.984 kB / 0.9022 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.2651, allocations: 0 / 0.9022 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006865/0.2658, allocations: 482.7 kB / 0.9026 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.2658, allocations: 4 kB / 0.9026 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.848e-05/0.2659, allocations: 4 kB / 0.9026 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.2659, allocations: 0 / 0.9026 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.2659, allocations: 96 / 0.9026 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.171e-06/0.266, allocations: 12.05 kB / 0.9026 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.266, allocations: 0 / 0.9026 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00015/0.2661, allocations: 85.77 kB / 0.9027 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.869e-05/0.2662, allocations: 89 kB / 0.9028 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/0.2663, allocations: 3.938 kB / 0.9028 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.667e-05/0.2663, allocations: 0 / 0.9028 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.719e-05/0.2664, allocations: 8.031 kB / 0.9028 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.032e-06/0.2664, allocations: 0 / 0.9028 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001532/0.2666, allocations: 130.8 kB / 0.9029 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.41e-07/0.2666, allocations: 0 / 0.9029 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004288/0.267, allocations: 11.91 kB / 0.903 GB, free: 61.5 MB / 0.6042 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.0001502/0.2672, allocations: 99.23 kB / 0.903 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000134/0.2673, allocations: 15.94 kB / 0.9031 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.2674, allocations: 8.125 kB / 0.9031 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.999e-05/0.2674, allocations: 8 kB / 0.9031 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.2677, allocations: 7.938 kB / 0.9031 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005177/0.2683, allocations: 194.1 kB / 0.9033 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000215/0.2685, allocations: 0.6926 MB / 0.9039 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.901e-05/0.2686, allocations: 8.422 kB / 0.904 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.175e-05/0.2686, allocations: 11.44 kB / 0.904 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of SimCode: time 1.963e-06/0.2686, allocations: 0 / 0.904 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of Templates: time 0.004097/0.2727, allocations: 458.2 kB / 0.9044 GB, free: 59.95 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1)