Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.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_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 108 kB / 15.61 MB, free: 152 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.001393/0.001393, allocations: 196.7 kB / 16.53 MB, free: 6.664 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.621/1.621, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.865/1.865, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.00155/0.00155, allocations: 70.77 kB / 0.6715 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3636/0.3651, allocations: 114.5 MB / 0.7834 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.003244/0.3685, allocations: 0.8412 MB / 0.7842 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000162/0.3687, allocations: 47.78 kB / 0.7842 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.371e-05/0.3688, allocations: 0 / 0.7842 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.432e-05/0.3689, allocations: 11.81 kB / 0.7842 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001229/0.369, allocations: 11.86 kB / 0.7843 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.869e-05/0.3691, allocations: 19.98 kB / 0.7843 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001404/0.3692, allocations: 67.84 kB / 0.7843 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001916/0.3694, allocations: 41.38 kB / 0.7844 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.897e-05/0.3695, allocations: 39.72 kB / 0.7844 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.503e-05/0.3696, allocations: 35.78 kB / 0.7845 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.508e-05/0.3696, allocations: 4 kB / 0.7845 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.289e-05/0.3696, allocations: 12 kB / 0.7845 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.825e-05/0.3696, allocations: 15.94 kB / 0.7845 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.674e-05/0.3697, allocations: 35.73 kB / 0.7845 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.3699, allocations: 83.91 kB / 0.7846 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.3699, allocations: 0 / 0.7846 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.274e-06/0.3699, allocations: 0 / 0.7846 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.3699, allocations: 0 / 0.7846 GB, free: 12.21 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.0006001/0.3705, allocations: 391.1 kB / 0.785 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/0.3706, allocations: 12.03 kB / 0.785 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.949e-05/0.3706, allocations: 16.75 kB / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000291/0.3709, allocations: 196.2 kB / 0.7852 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.3709, allocations: 384 / 0.7852 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.059e-05/0.371, allocations: 12.38 kB / 0.7852 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00021/0.3712, allocations: 91.94 kB / 0.7853 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.3712, allocations: 192 / 0.7853 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.836e-05/0.3712, allocations: 3.938 kB / 0.7853 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.3712, allocations: 4 kB / 0.7853 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.3713, allocations: 43.92 kB / 0.7853 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007701/0.3721, allocations: 444.5 kB / 0.7858 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.799e-05/0.3722, allocations: 45.34 kB / 0.7858 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.359e-05/0.3722, allocations: 17.66 kB / 0.7858 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.3723, allocations: 4.062 kB / 0.7858 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.3723, allocations: 38.56 kB / 0.7859 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.3723, allocations: 0 / 0.7859 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002401/0.3726, allocations: 61.47 kB / 0.7859 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.247e-05/0.3726, allocations: 77.36 kB / 0.786 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002096/0.3729, allocations: 172.5 kB / 0.7862 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.3729, allocations: 29.7 kB / 0.7862 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.373, allocations: 107.9 kB / 0.7863 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.572e-05/0.373, allocations: 11.91 kB / 0.7863 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.63e-05/0.3731, allocations: 17.7 kB / 0.7863 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000191/0.3733, allocations: 314.8 kB / 0.7866 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.803e-05/0.3733, allocations: 11.98 kB / 0.7866 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.215e-05/0.3733, allocations: 25.72 kB / 0.7867 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.951e-05/0.3734, allocations: 21.72 kB / 0.7867 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.3734, allocations: 0 / 0.7867 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.83e-05/0.3735, allocations: 65.53 kB / 0.7867 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.3735, allocations: 7.938 kB / 0.7867 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.3736, allocations: 3.938 kB / 0.7867 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.129e-05/0.3736, allocations: 4 kB / 0.7868 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.226e-05/0.3737, allocations: 8.062 kB / 0.7868 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.3737, allocations: 3.984 kB / 0.7868 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.597e-05/0.3737, allocations: 7.906 kB / 0.7868 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.93e-06/0.3738, allocations: 0 / 0.7868 GB, free: 9.715 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 0.0001184/0.3739, allocations: 118.4 kB / 0.7869 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.806e-05/0.3739, allocations: 15.89 kB / 0.7869 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.718e-05/0.374, allocations: 12.5 kB / 0.7869 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.374, allocations: 0 / 0.7869 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.374, allocations: 0 / 0.7869 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.374, allocations: 8 kB / 0.7869 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005253/0.3745, allocations: 482.7 kB / 0.7874 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.3746, allocations: 0 / 0.7874 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.342e-05/0.3746, allocations: 4 kB / 0.7874 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3746, allocations: 0 / 0.7874 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.3746, allocations: 4 kB / 0.7874 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3746, allocations: 3.938 kB / 0.7874 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3746, allocations: 4.062 kB / 0.7874 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001132/0.3747, allocations: 85.83 kB / 0.7875 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.379e-05/0.3748, allocations: 84.92 kB / 0.7876 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.032e-05/0.3749, allocations: 7.984 kB / 0.7876 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.569e-05/0.3749, allocations: 0 / 0.7876 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.615e-05/0.3749, allocations: 4.031 kB / 0.7876 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.3749, allocations: 8.016 kB / 0.7876 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001046/0.375, allocations: 130.1 kB / 0.7877 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3751, allocations: 0 / 0.7877 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001911/0.3753, allocations: 8 kB / 0.7877 GB, free: 8.645 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.0001872/0.3754, allocations: 95.25 kB / 0.7878 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001357/0.3756, allocations: 19.98 kB / 0.7878 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.3756, allocations: 0 / 0.7878 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.968e-05/0.3756, allocations: 20.06 kB / 0.7878 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001822/0.3758, allocations: 7.938 kB / 0.7878 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004361/0.3763, allocations: 174.3 kB / 0.788 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003831/0.3767, allocations: 0.6963 MB / 0.7887 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.88e-05/0.3767, allocations: 8.422 kB / 0.7887 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.964e-05/0.3767, allocations: 11.44 kB / 0.7887 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of SimCode: time 2e-07/0.3767, allocations: 0 / 0.7887 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of Templates: time 0.003556/0.3803, allocations: 493.4 kB / 0.7892 GB, free: 7.07 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1)