Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.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_quad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001142, allocations: 116.9 kB / 16.38 MB, free: 6.004 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.001115/0.001115, allocations: 189.2 kB / 17.3 MB, free: 5.617 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.486/1.486, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.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.966/1.966, allocations: 292.3 MB / 0.5496 GB, free: 17.48 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.001444/0.001445, allocations: 75.89 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/0.2363, allocations: 114.6 MB / 0.7848 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002493/0.2388, allocations: 0.848 MB / 0.7856 GB, free: 2.316 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001342/0.239, allocations: 55.64 kB / 0.7857 GB, free: 2.262 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.855e-05/0.2391, allocations: 0 / 0.7857 GB, free: 2.262 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.217e-05/0.2391, allocations: 7.875 kB / 0.7857 GB, free: 2.254 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001012/0.2392, allocations: 11.88 kB / 0.7857 GB, free: 2.242 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 5.538e-05/0.2393, allocations: 23.97 kB / 0.7857 GB, free: 2.219 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001162/0.2394, allocations: 63.84 kB / 0.7858 GB, free: 2.156 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001679/0.2396, allocations: 41.33 kB / 0.7858 GB, free: 2.113 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.347e-05/0.2396, allocations: 27.86 kB / 0.7858 GB, free: 2.086 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.644e-05/0.2397, allocations: 35.78 kB / 0.7859 GB, free: 2.051 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.2397, allocations: 4 kB / 0.7859 GB, free: 2.047 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.303e-05/0.2398, allocations: 8 kB / 0.7859 GB, free: 2.039 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.52e-05/0.2398, allocations: 23.92 kB / 0.7859 GB, free: 2.016 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.774e-05/0.2398, allocations: 31.8 kB / 0.7859 GB, free: 1.984 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001415/0.24, allocations: 87.52 kB / 0.786 GB, free: 1.898 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.24, allocations: 0 / 0.786 GB, free: 1.898 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.064e-06/0.24, allocations: 0 / 0.786 GB, free: 1.898 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.019e-05/0.24, allocations: 0 / 0.786 GB, free: 1.898 MB / 0.6544 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.0005213/0.2405, allocations: 387.1 kB / 0.7864 GB, free: 1.469 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001237/0.2407, allocations: 12.03 kB / 0.7864 GB, free: 1.457 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.953e-05/0.2407, allocations: 16.75 kB / 0.7864 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002308/0.241, allocations: 200.2 kB / 0.7866 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.241, allocations: 8.359 kB / 0.7866 GB, free: 1.199 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.167e-05/0.241, allocations: 12.31 kB / 0.7866 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.2412, allocations: 90.77 kB / 0.7867 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.2412, allocations: 4.125 kB / 0.7867 GB, free: 1.086 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.2412, allocations: 7.938 kB / 0.7867 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.2412, allocations: 0 / 0.7867 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.884e-05/0.2413, allocations: 39.92 kB / 0.7868 GB, free: 1.039 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000534/0.2418, allocations: 444.6 kB / 0.7872 GB, free: 0.5508 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 7.073e-05/0.2419, allocations: 45.31 kB / 0.7872 GB, free: 500 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.554e-05/0.242, allocations: 9.719 kB / 0.7872 GB, free: 484 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/0.242, allocations: 8 kB / 0.7873 GB, free: 476 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.242, allocations: 38.55 kB / 0.7873 GB, free: 428 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.242, allocations: 0 / 0.7873 GB, free: 428 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0001844/0.2422, allocations: 57.48 kB / 0.7873 GB, free: 364 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.2423, allocations: 77.11 kB / 0.7874 GB, free: 268 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.2424, allocations: 165.7 kB / 0.7876 GB, free: 92 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.2424, allocations: 33.69 kB / 0.7876 GB, free: 52 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.3551/0.5976, allocations: 108.2 kB / 0.7877 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.033e-05/0.5976, allocations: 7.828 kB / 0.7877 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.892e-05/0.5977, allocations: 20.17 kB / 0.7877 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.483e-05/0.5978, allocations: 319.5 kB / 0.788 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.966e-05/0.5978, allocations: 6.953 kB / 0.7881 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.121e-05/0.5979, allocations: 22.03 kB / 0.7881 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.689e-05/0.5979, allocations: 29.78 kB / 0.7881 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.5979, allocations: 3.938 kB / 0.7881 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001239/0.5981, allocations: 59.05 kB / 0.7882 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.5981, allocations: 6.094 kB / 0.7882 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.5981, allocations: 4.75 kB / 0.7882 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.5981, allocations: 0 / 0.7882 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.067e-05/0.5982, allocations: 8.859 kB / 0.7882 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.5983, allocations: 2.781 kB / 0.7882 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.829e-05/0.5983, allocations: 5.438 kB / 0.7882 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.804e-06/0.5983, allocations: 0.6094 kB / 0.7882 GB, free: 48.11 MB / 0.6544 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 6.778e-05/0.5984, allocations: 120.3 kB / 0.7883 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.709e-05/0.5985, allocations: 11.66 kB / 0.7883 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.844e-05/0.5985, allocations: 13.97 kB / 0.7883 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.5985, allocations: 6.375 kB / 0.7883 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/0.5985, allocations: 0 / 0.7883 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.5985, allocations: 2.625 kB / 0.7883 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003965/0.5989, allocations: 478.3 kB / 0.7888 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.5989, allocations: 3.094 kB / 0.7888 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.611e-05/0.599, allocations: 6.281 kB / 0.7888 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.599, allocations: 0 / 0.7888 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.599, allocations: 7.094 kB / 0.7888 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.599, allocations: 1.328 kB / 0.7888 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.599, allocations: 0 / 0.7888 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.9e-05/0.5991, allocations: 80.77 kB / 0.7889 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.331e-05/0.5991, allocations: 94.36 kB / 0.789 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.5992, allocations: 3.25 kB / 0.789 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.796e-05/0.5992, allocations: 3.828 kB / 0.789 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.078e-05/0.5992, allocations: 5.156 kB / 0.789 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-06/0.5992, allocations: 2.312 kB / 0.789 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.37e-05/0.5993, allocations: 129.4 kB / 0.7891 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7.62e-07/0.5993, allocations: 0 / 0.7891 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002392/0.5996, allocations: 9.516 kB / 0.7891 GB, free: 47.28 MB / 0.6544 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.0001076/0.5997, allocations: 106 kB / 0.7892 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 9.673e-05/0.5998, allocations: 18.3 kB / 0.7892 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.5998, allocations: 2.469 kB / 0.7892 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.187e-05/0.5998, allocations: 4.719 kB / 0.7892 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001903/0.6, allocations: 11.34 kB / 0.7893 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003437/0.6004, allocations: 200.2 kB / 0.7895 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.6005, allocations: 0.6988 MB / 0.7901 GB, free: 46.33 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.219e-05/0.6005, allocations: 10.06 kB / 0.7901 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.6005, allocations: 0.5312 kB / 0.7901 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of Templates: time 0.002521/0.6031, allocations: 0.9323 MB / 0.7911 GB, free: 46.32 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1)