Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.639/1.639, allocations: 292.3 MB / 308.1 MB, free: 4.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001238/0.001238, allocations: 184.5 kB / 376.9 MB, free: 1.773 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.123/2.123, allocations: 205.1 MB / 0.6354 GB, free: 9.777 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001121/0.001121, allocations: 98.97 kB / 0.748 GB, free: 61.16 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 51.91 kB / 0.8704 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3179, allocations: 114.5 MB / 0.9822 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.002708/0.3207, allocations: 0.9061 MB / 0.9831 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001626/0.3209, allocations: 43.77 kB / 0.9831 GB, free: 9.418 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.89e-05/0.321, allocations: 4 kB / 0.9832 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 5.136e-05/0.321, allocations: 3.938 kB / 0.9832 GB, free: 9.41 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001167/0.3212, allocations: 7.938 kB / 0.9832 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 5.375e-05/0.3212, allocations: 15.98 kB / 0.9832 GB, free: 9.387 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001406/0.3214, allocations: 67.78 kB / 0.9832 GB, free: 9.32 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001707/0.3216, allocations: 37.39 kB / 0.9833 GB, free: 9.281 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.341e-05/0.3216, allocations: 31.84 kB / 0.9833 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.469e-05/0.3217, allocations: 31.78 kB / 0.9833 GB, free: 9.219 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.178e-05/0.3217, allocations: 8 kB / 0.9833 GB, free: 9.211 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.236e-05/0.3218, allocations: 4 kB / 0.9834 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.438e-05/0.3218, allocations: 11.94 kB / 0.9834 GB, free: 9.195 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.961e-05/0.3219, allocations: 39.73 kB / 0.9834 GB, free: 9.156 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001336/0.322, allocations: 75.91 kB / 0.9835 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.322, allocations: 0 / 0.9835 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.138e-06/0.322, allocations: 0 / 0.9835 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.322, allocations: 3.938 kB / 0.9835 GB, free: 9.078 MB / 0.7136 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.0005465/0.3226, allocations: 403.1 kB / 0.9839 GB, free: 8.633 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.3226, allocations: 8.031 kB / 0.9839 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.542e-05/0.3227, allocations: 12.84 kB / 0.9839 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002443/0.3229, allocations: 184.2 kB / 0.9841 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.323, allocations: 8.312 kB / 0.9841 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.323, allocations: 12.38 kB / 0.9841 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.3232, allocations: 102.4 kB / 0.9842 GB, free: 8.266 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.3232, allocations: 192 / 0.9842 GB, free: 8.266 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.3232, allocations: 3.938 kB / 0.9842 GB, free: 8.262 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.3232, allocations: 8 kB / 0.9842 GB, free: 8.254 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.737e-05/0.3233, allocations: 35.98 kB / 0.9842 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006534/0.324, allocations: 444.6 kB / 0.9846 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.407e-05/0.3241, allocations: 41.16 kB / 0.9847 GB, free: 7.672 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.075e-05/0.3241, allocations: 17.88 kB / 0.9847 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.076e-05/0.3241, allocations: 4 kB / 0.9847 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.3242, allocations: 34.56 kB / 0.9847 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.473e-06/0.3242, allocations: 0 / 0.9847 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001956/0.3244, allocations: 65.62 kB / 0.9848 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/0.3244, allocations: 81.11 kB / 0.9849 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.3246, allocations: 171.3 kB / 0.985 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.3246, allocations: 25.7 kB / 0.9851 GB, free: 7.223 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.986e-05/0.3247, allocations: 108 kB / 0.9852 GB, free: 7.113 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.478e-06/0.3247, allocations: 7.906 kB / 0.9852 GB, free: 7.105 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.3248, allocations: 17.7 kB / 0.9852 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.3249, allocations: 314.8 kB / 0.9855 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.215e-05/0.3249, allocations: 15.98 kB / 0.9855 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.753e-05/0.325, allocations: 21.7 kB / 0.9855 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.607e-05/0.325, allocations: 29.66 kB / 0.9856 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.325, allocations: 3.938 kB / 0.9856 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.924e-05/0.3251, allocations: 61.59 kB / 0.9856 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.3251, allocations: 4 kB / 0.9856 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.3252, allocations: 8 kB / 0.9856 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.3252, allocations: 3.938 kB / 0.9856 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.121e-05/0.3253, allocations: 8 kB / 0.9856 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.3253, allocations: 0 / 0.9856 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.854e-05/0.3253, allocations: 11.91 kB / 0.9857 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.3253, allocations: 4 kB / 0.9857 GB, free: 6.578 MB / 0.7136 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 0.0001052/0.3254, allocations: 117.8 kB / 0.9858 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.324e-05/0.3255, allocations: 11.89 kB / 0.9858 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.536e-05/0.3255, allocations: 12.5 kB / 0.9858 GB, free: 6.434 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3255, allocations: 4 kB / 0.9858 GB, free: 6.43 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.3255, allocations: 0 / 0.9858 GB, free: 6.43 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.3256, allocations: 0 / 0.9858 GB, free: 6.43 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004577/0.326, allocations: 486.7 kB / 0.9863 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.326, allocations: 3.938 kB / 0.9863 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.485e-05/0.3261, allocations: 4 kB / 0.9863 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.3261, allocations: 0 / 0.9863 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.3261, allocations: 8.062 kB / 0.9863 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3261, allocations: 0 / 0.9863 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3261, allocations: 0 / 0.9863 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003842/0.3265, allocations: 0.648 MB / 0.9869 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.165e-05/0.3266, allocations: 85 kB / 0.987 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.3266, allocations: 8.031 kB / 0.987 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.755e-05/0.3266, allocations: 0 / 0.987 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.413e-05/0.3266, allocations: 7.875 kB / 0.987 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.159e-06/0.3267, allocations: 4 kB / 0.987 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.27e-05/0.3267, allocations: 124 kB / 0.9871 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3268, allocations: 0 / 0.9871 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000302/0.3271, allocations: 8 kB / 0.9871 GB, free: 4.914 MB / 0.7136 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.0001354/0.3272, allocations: 99.25 kB / 0.9872 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.738e-05/0.3273, allocations: 23.98 kB / 0.9873 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3273, allocations: 0 / 0.9873 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.506e-05/0.3273, allocations: 11.94 kB / 0.9873 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001677/0.3275, allocations: 6.672 kB / 0.9873 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004119/0.3279, allocations: 302.8 kB / 0.9876 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/0.3282, allocations: 0.6965 MB / 0.9882 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.455e-05/0.3283, allocations: 4.438 kB / 0.9882 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.491e-05/0.3283, allocations: 15.44 kB / 0.9883 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of SimCode: time 2.1e-07/0.3283, allocations: 0 / 0.9883 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of Templates: time 0.002601/0.3309, allocations: 488.6 kB / 0.9887 GB, free: 3.211 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1)