Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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.0008861/0.0008862, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004925/0.004925, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.421/1.421, allocations: 205.4 MB / 222.4 MB, free: 5.793 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.511/1.511, allocations: 252 MB / 0.5105 GB, free: 4.699 MB / 414.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.0005084/0.0005085, allocations: 20 kB / 0.6249 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5078/0.5083, allocations: 106.3 MB / 0.7287 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001554/0.5099, allocations: 0.9798 MB / 0.7297 GB, free: 10.27 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001078/0.511, allocations: 0.5946 MB / 0.7303 GB, free: 9.68 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.017e-05/0.5111, allocations: 0 / 0.7303 GB, free: 9.68 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.699e-05/0.5111, allocations: 0 / 0.7303 GB, free: 9.68 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.449e-05/0.5112, allocations: 0 / 0.7303 GB, free: 9.68 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006123/0.5118, allocations: 122.3 kB / 0.7304 GB, free: 9.562 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.94e-05/0.5119, allocations: 11.94 kB / 0.7304 GB, free: 9.551 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.792e-05/0.5119, allocations: 3.984 kB / 0.7304 GB, free: 9.547 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.44e-05/0.512, allocations: 4 kB / 0.7304 GB, free: 9.543 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.166e-05/0.512, allocations: 7.938 kB / 0.7304 GB, free: 9.535 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.512, allocations: 4 kB / 0.7304 GB, free: 9.531 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005495/0.5126, allocations: 339.3 kB / 0.7307 GB, free: 9.199 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.449e-05/0.5126, allocations: 7.969 kB / 0.7307 GB, free: 9.191 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.956e-05/0.5127, allocations: 25.7 kB / 0.7308 GB, free: 9.16 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002791/0.5129, allocations: 141.6 kB / 0.7309 GB, free: 9.023 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.513, allocations: 0 / 0.7309 GB, free: 9.023 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.144e-06/0.513, allocations: 0 / 0.7309 GB, free: 9.023 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.918e-06/0.513, allocations: 3.938 kB / 0.7309 GB, free: 9.02 MB / 0.545 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.0004187/0.5134, allocations: 355.5 kB / 0.7312 GB, free: 8.621 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.5135, allocations: 8.031 kB / 0.7313 GB, free: 8.613 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.083e-05/0.5135, allocations: 0.9375 kB / 0.7313 GB, free: 8.613 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.5136, allocations: 164.4 kB / 0.7314 GB, free: 8.414 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.5136, allocations: 384 / 0.7314 GB, free: 8.414 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.847e-06/0.5137, allocations: 384 / 0.7314 GB, free: 8.414 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.5138, allocations: 38.19 kB / 0.7315 GB, free: 8.371 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.5138, allocations: 192 / 0.7315 GB, free: 8.371 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.5138, allocations: 3.938 kB / 0.7315 GB, free: 8.367 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-06/0.5138, allocations: 0 / 0.7315 GB, free: 8.367 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.546e-05/0.5139, allocations: 12 kB / 0.7315 GB, free: 8.355 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001686/0.514, allocations: 149.7 kB / 0.7316 GB, free: 8.16 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.5141, allocations: 22.58 kB / 0.7316 GB, free: 8.129 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.173e-05/0.5142, allocations: 8.922 kB / 0.7316 GB, free: 8.117 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.5142, allocations: 3.938 kB / 0.7316 GB, free: 8.113 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.5142, allocations: 34.5 kB / 0.7317 GB, free: 8.07 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.5142, allocations: 4 kB / 0.7317 GB, free: 8.066 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0001716/0.5144, allocations: 45.62 kB / 0.7317 GB, free: 8.016 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.5145, allocations: 55.41 kB / 0.7318 GB, free: 7.949 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.576e-05/0.5145, allocations: 93.86 kB / 0.7319 GB, free: 7.848 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.5146, allocations: 29.7 kB / 0.7319 GB, free: 7.812 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.98e-05/0.5146, allocations: 84.14 kB / 0.732 GB, free: 7.727 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.636e-05/0.5146, allocations: 7.844 kB / 0.732 GB, free: 7.719 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.363e-05/0.5147, allocations: 9.969 kB / 0.732 GB, free: 7.703 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.5148, allocations: 318.8 kB / 0.7323 GB, free: 7.383 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.295e-05/0.5148, allocations: 4 kB / 0.7323 GB, free: 7.379 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.096e-05/0.5148, allocations: 7.938 kB / 0.7323 GB, free: 7.371 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.653e-05/0.5149, allocations: 8.859 kB / 0.7323 GB, free: 7.359 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.5149, allocations: 4 kB / 0.7323 GB, free: 7.355 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.727e-05/0.5149, allocations: 37.7 kB / 0.7324 GB, free: 7.312 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.515, allocations: 4 kB / 0.7324 GB, free: 7.309 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.515, allocations: 8.016 kB / 0.7324 GB, free: 7.301 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.515, allocations: 4 kB / 0.7324 GB, free: 7.297 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.5152, allocations: 8 kB / 0.7324 GB, free: 7.289 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004405/0.5156, allocations: 0.5859 MB / 0.733 GB, free: 6.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.013e-05/0.5156, allocations: 4.031 kB / 0.733 GB, free: 6.676 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.5157, allocations: 3.984 kB / 0.733 GB, free: 6.672 MB / 0.545 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 7.557e-05/0.5157, allocations: 113.9 kB / 0.7331 GB, free: 6.551 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.833e-06/0.5158, allocations: 0 / 0.7331 GB, free: 6.551 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001082/0.5159, allocations: 44.81 kB / 0.7331 GB, free: 6.5 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.5159, allocations: 4 kB / 0.7331 GB, free: 6.496 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.5159, allocations: 3.938 kB / 0.7331 GB, free: 6.492 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.5159, allocations: 0 / 0.7331 GB, free: 6.492 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001041/0.516, allocations: 149.6 kB / 0.7333 GB, free: 6.297 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.516, allocations: 4 kB / 0.7333 GB, free: 6.293 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.2e-05/0.5161, allocations: 15.92 kB / 0.7333 GB, free: 6.277 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.5161, allocations: 8.031 kB / 0.7333 GB, free: 6.27 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.68e-06/0.5161, allocations: 0 / 0.7333 GB, free: 6.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002959/0.5164, allocations: 0.5782 MB / 0.7339 GB, free: 5.668 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.5164, allocations: 3.938 kB / 0.7339 GB, free: 5.664 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.853e-05/0.5165, allocations: 73.12 kB / 0.7339 GB, free: 5.574 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.093e-05/0.5166, allocations: 89 kB / 0.734 GB, free: 5.469 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.809e-06/0.5166, allocations: 0 / 0.734 GB, free: 5.469 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.295e-05/0.5166, allocations: 0 / 0.734 GB, free: 5.469 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.403e-05/0.5166, allocations: 7.922 kB / 0.734 GB, free: 5.461 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.5166, allocations: 4 kB / 0.734 GB, free: 5.457 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.991e-05/0.5166, allocations: 79.28 kB / 0.7341 GB, free: 5.379 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5167, allocations: 0 / 0.7341 GB, free: 5.379 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001924/0.5168, allocations: 12 kB / 0.7341 GB, free: 5.367 MB / 0.545 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.0001621/0.517, allocations: 115.3 kB / 0.7342 GB, free: 5.242 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001501/0.5172, allocations: 15.98 kB / 0.7342 GB, free: 5.227 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.5172, allocations: 0 / 0.7342 GB, free: 5.227 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.206e-05/0.5173, allocations: 20.03 kB / 0.7343 GB, free: 5.207 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001398/0.5174, allocations: 3.938 kB / 0.7343 GB, free: 5.203 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003035/0.5177, allocations: 111.6 kB / 0.7344 GB, free: 5.07 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002515/0.518, allocations: 0.6731 MB / 0.735 GB, free: 4.371 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.851e-05/0.518, allocations: 0 / 0.735 GB, free: 4.371 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.179e-05/0.518, allocations: 11.38 kB / 0.735 GB, free: 4.359 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.5181, allocations: 0 / 0.735 GB, free: 4.359 MB / 0.545 GB Notification: Performance of Templates: time 0.002688/0.5207, allocations: 417.4 kB / 0.7354 GB, free: 3.984 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) Environment - environmentSimulation: