Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.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_hp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 102.7 kB / 16.36 MB, free: 6.301 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.001726/0.001725, allocations: 192.5 kB / 17.29 MB, free: 5.875 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.367/1.367, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.817/1.817, allocations: 292.3 MB / 0.5496 GB, free: 17.61 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.001454/0.001454, allocations: 67.91 kB / 0.6729 GB, free: 5.816 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.2365, allocations: 114.6 MB / 0.7848 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002122/0.2387, allocations: 0.8567 MB / 0.7856 GB, free: 2.289 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001192/0.2388, allocations: 43.78 kB / 0.7857 GB, free: 2.246 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.267e-05/0.2389, allocations: 4 kB / 0.7857 GB, free: 2.242 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.509e-05/0.2389, allocations: 7.875 kB / 0.7857 GB, free: 2.234 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.353e-05/0.239, allocations: 7.875 kB / 0.7857 GB, free: 2.227 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 4.873e-05/0.2391, allocations: 23.97 kB / 0.7857 GB, free: 2.203 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.2392, allocations: 67.78 kB / 0.7858 GB, free: 2.137 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.2393, allocations: 45.38 kB / 0.7858 GB, free: 2.09 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.719e-05/0.2394, allocations: 31.8 kB / 0.7858 GB, free: 2.059 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.373e-05/0.2395, allocations: 35.78 kB / 0.7859 GB, free: 2.023 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.2395, allocations: 8 kB / 0.7859 GB, free: 2.016 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.508e-06/0.2395, allocations: 4 kB / 0.7859 GB, free: 2.012 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.559e-05/0.2395, allocations: 19.92 kB / 0.7859 GB, free: 1.992 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.737e-05/0.2396, allocations: 35.75 kB / 0.7859 GB, free: 1.957 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001116/0.2397, allocations: 87.56 kB / 0.786 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.2397, allocations: 3.938 kB / 0.786 GB, free: 1.867 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.884e-06/0.2397, allocations: 0 / 0.786 GB, free: 1.867 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.2397, allocations: 0 / 0.786 GB, free: 1.867 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.0004424/0.2402, allocations: 394.1 kB / 0.7864 GB, free: 1.434 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.2402, allocations: 8.031 kB / 0.7864 GB, free: 1.426 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.491e-05/0.2402, allocations: 12.75 kB / 0.7864 GB, free: 1.414 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002058/0.2405, allocations: 200.1 kB / 0.7866 GB, free: 1.18 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.2405, allocations: 4.375 kB / 0.7866 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/0.2405, allocations: 8.375 kB / 0.7866 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.2407, allocations: 87.95 kB / 0.7867 GB, free: 1.07 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.2407, allocations: 192 / 0.7867 GB, free: 1.07 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.2407, allocations: 11.94 kB / 0.7867 GB, free: 1.059 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.2407, allocations: 4 kB / 0.7867 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.669e-05/0.2408, allocations: 39.92 kB / 0.7868 GB, free: 1.016 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00055/0.2413, allocations: 444.5 kB / 0.7872 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.574e-05/0.2414, allocations: 49.33 kB / 0.7872 GB, free: 472 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.523e-05/0.2414, allocations: 13.78 kB / 0.7872 GB, free: 452 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.597e-06/0.2414, allocations: 0 / 0.7872 GB, free: 452 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.2415, allocations: 30.56 kB / 0.7873 GB, free: 412 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.2415, allocations: 0 / 0.7873 GB, free: 412 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0001695/0.2417, allocations: 61.48 kB / 0.7873 GB, free: 344 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.2417, allocations: 81.36 kB / 0.7874 GB, free: 244 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.2419, allocations: 169.5 kB / 0.7876 GB, free: 64 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.2419, allocations: 29.7 kB / 0.7876 GB, free: 28 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.381/0.6229, allocations: 106.3 kB / 0.7877 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.837e-05/0.623, allocations: 6.625 kB / 0.7877 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.919e-05/0.623, allocations: 17.73 kB / 0.7877 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.451e-05/0.6231, allocations: 319.9 kB / 0.788 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.301e-05/0.6231, allocations: 8.141 kB / 0.788 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.443e-05/0.6232, allocations: 19.22 kB / 0.7881 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.47e-05/0.6232, allocations: 37.23 kB / 0.7881 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.6232, allocations: 0 / 0.7881 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001238/0.6234, allocations: 63.83 kB / 0.7882 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.6234, allocations: 4 kB / 0.7882 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.6234, allocations: 6.938 kB / 0.7882 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.6234, allocations: 6.625 kB / 0.7882 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.547e-05/0.6235, allocations: 6.312 kB / 0.7882 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.6235, allocations: 0 / 0.7882 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.857e-05/0.6236, allocations: 5.406 kB / 0.7882 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.6236, allocations: 1 kB / 0.7882 GB, free: 48.17 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 5.617e-05/0.6237, allocations: 120.7 kB / 0.7883 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.969e-05/0.6237, allocations: 10.09 kB / 0.7883 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.878e-05/0.6237, allocations: 16.8 kB / 0.7883 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.6237, allocations: 6.75 kB / 0.7883 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.6238, allocations: 1.219 kB / 0.7883 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.6238, allocations: 0.9375 kB / 0.7883 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003535/0.6241, allocations: 474.4 kB / 0.7888 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.6241, allocations: 6.844 kB / 0.7888 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.272e-05/0.6242, allocations: 3.594 kB / 0.7888 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.6242, allocations: 0 / 0.7888 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.6242, allocations: 3.156 kB / 0.7888 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.6242, allocations: 6.594 kB / 0.7888 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.6242, allocations: 2.375 kB / 0.7888 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.476e-05/0.6243, allocations: 77.66 kB / 0.7889 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.467e-05/0.6243, allocations: 98.61 kB / 0.789 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.6243, allocations: 4.719 kB / 0.789 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.543e-05/0.6244, allocations: 0 / 0.789 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.77e-05/0.6244, allocations: 3.234 kB / 0.789 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.6244, allocations: 2.594 kB / 0.789 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.737e-05/0.6245, allocations: 126.5 kB / 0.7891 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6245, allocations: 2.906 kB / 0.7891 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000221/0.6247, allocations: 5.375 kB / 0.7891 GB, free: 47.34 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 9.344e-05/0.6248, allocations: 103.3 kB / 0.7892 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001105/0.6249, allocations: 25.72 kB / 0.7892 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.6249, allocations: 0 / 0.7892 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.173e-05/0.6249, allocations: 8.719 kB / 0.7892 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001643/0.6251, allocations: 8.219 kB / 0.7893 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002857/0.6254, allocations: 202.5 kB / 0.7894 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.993e-05/0.6255, allocations: 0.6918 MB / 0.7901 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.537e-05/0.6255, allocations: 14.77 kB / 0.7901 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.6256, allocations: 0 / 0.7901 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of Templates: time 0.002138/0.6277, allocations: 0.9253 MB / 0.791 GB, free: 46.38 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.makefile (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_hp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1)