Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009973/0.0009974, allocations: 102.9 kB / 16.35 MB, free: 5.879 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.0009583/0.0009583, allocations: 192.4 kB / 17.29 MB, free: 5.516 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.297/1.297, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.81/1.81, allocations: 292.3 MB / 0.5496 GB, free: 17.52 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.00144/0.00144, allocations: 70.25 kB / 0.6729 GB, free: 5.82 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.202, allocations: 114.6 MB / 0.7848 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002152/0.2042, allocations: 1.233 MB / 0.786 GB, free: 1.898 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008887/0.2051, allocations: 0.5838 MB / 0.7866 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.194e-05/0.2051, allocations: 3.938 kB / 0.7866 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.18e-05/0.2051, allocations: 4 kB / 0.7866 GB, free: 1.305 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.831e-05/0.2052, allocations: 7.938 kB / 0.7866 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004874/0.2057, allocations: 139.4 kB / 0.7867 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 4.672e-05/0.2057, allocations: 11.94 kB / 0.7867 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.495e-05/0.2058, allocations: 0 / 0.7867 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.927e-05/0.2058, allocations: 11.92 kB / 0.7867 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.939e-05/0.2058, allocations: 3.984 kB / 0.7867 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.2059, allocations: 4 kB / 0.7867 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004991/0.2064, allocations: 339.4 kB / 0.7871 GB, free: 0.7969 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.737e-06/0.2064, allocations: 3.938 kB / 0.7871 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.329e-05/0.2064, allocations: 11.92 kB / 0.7871 GB, free: 0.7812 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002341/0.2066, allocations: 135.8 kB / 0.7872 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2067, allocations: 0 / 0.7872 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2067, allocations: 0 / 0.7872 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.2067, allocations: 0 / 0.7872 GB, free: 0.6484 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003372/0.207, allocations: 351.5 kB / 0.7875 GB, free: 260 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.2071, allocations: 11.97 kB / 0.7875 GB, free: 248 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.688e-05/0.2071, allocations: 0.9375 kB / 0.7875 GB, free: 248 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.934e-05/0.2072, allocations: 180.2 kB / 0.7877 GB, free: 28 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.2072, allocations: 384 / 0.7877 GB, free: 28 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.2072, allocations: 4.359 kB / 0.7877 GB, free: 24 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3329/0.5401, allocations: 34.27 kB / 0.7878 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.5402, allocations: 3 kB / 0.7878 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/0.5402, allocations: 0 / 0.7878 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/0.5402, allocations: 0 / 0.7878 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.805e-05/0.5403, allocations: 1.844 kB / 0.7878 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001815/0.5405, allocations: 148.3 kB / 0.7879 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 7.634e-05/0.5406, allocations: 30.45 kB / 0.7879 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.246e-05/0.5406, allocations: 9.578 kB / 0.7879 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.5407, allocations: 2.562 kB / 0.7879 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.5407, allocations: 33.95 kB / 0.788 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.753e-06/0.5407, allocations: 0 / 0.788 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0001735/0.5409, allocations: 42.05 kB / 0.788 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/0.5409, allocations: 53.03 kB / 0.7881 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.372e-05/0.541, allocations: 102.3 kB / 0.7882 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.606e-06/0.541, allocations: 25.7 kB / 0.7882 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.694e-05/0.541, allocations: 81.77 kB / 0.7883 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.327e-05/0.5411, allocations: 3.406 kB / 0.7883 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.288e-05/0.5411, allocations: 17.28 kB / 0.7883 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.111e-05/0.5412, allocations: 314.4 kB / 0.7886 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.436e-05/0.5412, allocations: 3.188 kB / 0.7886 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.207e-05/0.5412, allocations: 3.75 kB / 0.7886 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.366e-05/0.5412, allocations: 15.08 kB / 0.7886 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.5412, allocations: 0 / 0.7886 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.055e-05/0.5413, allocations: 49.23 kB / 0.7887 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.5413, allocations: 5.25 kB / 0.7887 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.5413, allocations: 0.6562 kB / 0.7887 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.5414, allocations: 2.297 kB / 0.7887 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002035/0.5416, allocations: 12.41 kB / 0.7887 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002788/0.5419, allocations: 0.581 MB / 0.7892 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.157e-05/0.5419, allocations: 3.938 kB / 0.7892 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.5419, allocations: 2.625 kB / 0.7892 GB, free: 47.36 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.317e-05/0.542, allocations: 113.3 kB / 0.7894 GB, free: 47.24 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.578e-06/0.542, allocations: 6.969 kB / 0.7894 GB, free: 47.24 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001087/0.5421, allocations: 49.36 kB / 0.7894 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.5421, allocations: 0 / 0.7894 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.5421, allocations: 1.25 kB / 0.7894 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.5421, allocations: 3.938 kB / 0.7894 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.014e-05/0.5422, allocations: 150.8 kB / 0.7896 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.5422, allocations: 2.625 kB / 0.7896 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.931e-05/0.5423, allocations: 11.27 kB / 0.7896 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.5423, allocations: 2.625 kB / 0.7896 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.5423, allocations: 0 / 0.7896 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001897/0.5425, allocations: 0.5871 MB / 0.7901 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.5425, allocations: 3.891 kB / 0.7902 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.948e-05/0.5426, allocations: 65.7 kB / 0.7902 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.749e-05/0.5426, allocations: 85.53 kB / 0.7903 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.5427, allocations: 4.969 kB / 0.7903 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.524e-05/0.5427, allocations: 0 / 0.7903 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.09e-05/0.5427, allocations: 3.5 kB / 0.7903 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.5427, allocations: 0 / 0.7903 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.389e-05/0.5427, allocations: 79.19 kB / 0.7904 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.5427, allocations: 0 / 0.7904 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002291/0.543, allocations: 11 kB / 0.7904 GB, free: 46.2 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001685/0.5432, allocations: 113 kB / 0.7905 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000166/0.5433, allocations: 26.95 kB / 0.7905 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.5433, allocations: 0.5625 kB / 0.7905 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.584e-05/0.5434, allocations: 14.16 kB / 0.7905 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001441/0.5436, allocations: 5.219 kB / 0.7905 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003453/0.5439, allocations: 96.19 kB / 0.7906 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.31e-05/0.544, allocations: 0.6746 MB / 0.7913 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 1.517e-05/0.5441, allocations: 0.5938 kB / 0.7913 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.239e-05/0.5441, allocations: 10.06 kB / 0.7913 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of SimCode: time 1.012e-06/0.5441, allocations: 3.406 kB / 0.7913 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of Templates: time 0.002248/0.5463, allocations: 445.1 kB / 0.7917 GB, free: 45.32 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)