Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001943/0.001943, allocations: 107.3 kB / 16.52 MB, free: 6.656 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.002283/0.002283, allocations: 197.8 kB / 17.44 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 222.9 MB / 241.1 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7322/0.7322, allocations: 115.3 MB / 406.6 MB, free: 6.453 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 63.91 kB / 493.6 MB, free: 0.8359 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3811/0.3826, allocations: 76.16 MB / 0.5564 GB, free: 36.31 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002175/0.3848, allocations: 1.302 MB / 0.5576 GB, free: 35.42 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009167/0.3858, allocations: 0.609 MB / 0.5582 GB, free: 35 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.479e-05/0.3858, allocations: 1.156 kB / 0.5582 GB, free: 35 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.256e-05/0.3858, allocations: 0 / 0.5582 GB, free: 35 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.183e-05/0.3859, allocations: 0 / 0.5582 GB, free: 35 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004195/0.3863, allocations: 121.8 kB / 0.5584 GB, free: 34.95 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.28e-05/0.3864, allocations: 9.5 kB / 0.5584 GB, free: 34.95 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.128e-05/0.3864, allocations: 3.203 kB / 0.5584 GB, free: 34.95 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.073e-05/0.3864, allocations: 10.45 kB / 0.5584 GB, free: 34.94 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.42e-05/0.3865, allocations: 4.797 kB / 0.5584 GB, free: 34.94 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.3865, allocations: 0 / 0.5584 GB, free: 34.94 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004827/0.387, allocations: 340.5 kB / 0.5587 GB, free: 34.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.262e-05/0.387, allocations: 6.781 kB / 0.5587 GB, free: 34.84 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.084e-05/0.387, allocations: 10.69 kB / 0.5587 GB, free: 34.83 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000179/0.3872, allocations: 87.91 kB / 0.5588 GB, free: 34.82 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3872, allocations: 1.906 kB / 0.5588 GB, free: 34.82 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.3872, allocations: 0 / 0.5588 GB, free: 34.82 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.3873, allocations: 1.562 kB / 0.5588 GB, free: 34.82 MB / 446.1 MB 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.0003307/0.3876, allocations: 348.3 kB / 0.5591 GB, free: 34.44 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.3876, allocations: 9.344 kB / 0.5592 GB, free: 34.44 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.112e-05/0.3877, allocations: 3.391 kB / 0.5592 GB, free: 34.44 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.198e-05/0.3877, allocations: 165.2 kB / 0.5593 GB, free: 34.25 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.3878, allocations: 384 / 0.5593 GB, free: 34.25 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-06/0.3878, allocations: 1.594 kB / 0.5593 GB, free: 34.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.438e-05/0.3879, allocations: 33.8 kB / 0.5594 GB, free: 34.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.3879, allocations: 1.438 kB / 0.5594 GB, free: 34.21 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.3879, allocations: 7.562 kB / 0.5594 GB, free: 34.21 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3879, allocations: 0 / 0.5594 GB, free: 34.21 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.567e-05/0.3879, allocations: 10.22 kB / 0.5594 GB, free: 34.2 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001167/0.3881, allocations: 155.6 kB / 0.5595 GB, free: 34.01 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.294e-05/0.3881, allocations: 28.08 kB / 0.5595 GB, free: 33.98 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.625e-05/0.3881, allocations: 8.984 kB / 0.5596 GB, free: 33.97 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.3882, allocations: 6.406 kB / 0.5596 GB, free: 33.96 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.687e-05/0.3882, allocations: 32.59 kB / 0.5596 GB, free: 33.93 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.3882, allocations: 3.938 kB / 0.5596 GB, free: 33.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.000126/0.3883, allocations: 49.42 kB / 0.5596 GB, free: 33.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.972e-05/0.3883, allocations: 53.7 kB / 0.5597 GB, free: 33.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.761e-05/0.3884, allocations: 94.39 kB / 0.5598 GB, free: 33.72 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.983e-06/0.3884, allocations: 32.58 kB / 0.5598 GB, free: 33.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.451e-05/0.3884, allocations: 80.14 kB / 0.5599 GB, free: 33.6 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.3885, allocations: 9.844 kB / 0.5599 GB, free: 33.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.396e-05/0.3885, allocations: 13.5 kB / 0.5599 GB, free: 33.58 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.355e-05/0.3885, allocations: 315.5 kB / 0.5602 GB, free: 33.26 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.291e-05/0.3886, allocations: 3.438 kB / 0.5602 GB, free: 33.26 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.227e-06/0.3886, allocations: 3.219 kB / 0.5602 GB, free: 33.26 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.782e-05/0.3886, allocations: 15.2 kB / 0.5602 GB, free: 33.25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3886, allocations: 0 / 0.5602 GB, free: 33.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.532e-05/0.3887, allocations: 41.19 kB / 0.5603 GB, free: 33.21 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.3887, allocations: 5.688 kB / 0.5603 GB, free: 33.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3887, allocations: 5.578 kB / 0.5603 GB, free: 33.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.3887, allocations: 0 / 0.5603 GB, free: 33.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.3889, allocations: 17.98 kB / 0.5603 GB, free: 33.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002343/0.3891, allocations: 0.5834 MB / 0.5609 GB, free: 32.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.911e-05/0.3891, allocations: 0 / 0.5609 GB, free: 32.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.271e-06/0.3891, allocations: 1.719 kB / 0.5609 GB, free: 32.62 MB / 446.1 MB 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 5.053e-05/0.3892, allocations: 117.6 kB / 0.561 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.832e-06/0.3892, allocations: 0 / 0.561 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.779e-05/0.3893, allocations: 44.88 kB / 0.561 GB, free: 32.46 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.3893, allocations: 2.062 kB / 0.561 GB, free: 32.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.3893, allocations: 0.6562 kB / 0.561 GB, free: 32.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.3893, allocations: 0.625 kB / 0.561 GB, free: 32.46 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.979e-05/0.3894, allocations: 152.7 kB / 0.5612 GB, free: 32.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3894, allocations: 0 / 0.5612 GB, free: 32.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.185e-05/0.3895, allocations: 12.34 kB / 0.5612 GB, free: 32.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.3895, allocations: 0 / 0.5612 GB, free: 32.27 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-06/0.3895, allocations: 7.875 kB / 0.5612 GB, free: 32.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001813/0.3897, allocations: 0.5858 MB / 0.5618 GB, free: 31.67 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.3897, allocations: 3.938 kB / 0.5618 GB, free: 31.67 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.379e-05/0.3898, allocations: 64.05 kB / 0.5618 GB, free: 31.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.726e-05/0.3898, allocations: 83.19 kB / 0.5619 GB, free: 31.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.3898, allocations: 1.75 kB / 0.5619 GB, free: 31.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.619e-05/0.3898, allocations: 1.078 kB / 0.5619 GB, free: 31.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.283e-05/0.3898, allocations: 10.45 kB / 0.5619 GB, free: 31.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.3899, allocations: 1.969 kB / 0.5619 GB, free: 31.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.736e-05/0.3899, allocations: 83.03 kB / 0.562 GB, free: 31.42 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3899, allocations: 0 / 0.562 GB, free: 31.42 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001953/0.3901, allocations: 12.27 kB / 0.562 GB, free: 31.41 MB / 446.1 MB 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.0001361/0.3902, allocations: 105.7 kB / 0.5621 GB, free: 31.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001541/0.3904, allocations: 25.98 kB / 0.5621 GB, free: 31.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3904, allocations: 0 / 0.5621 GB, free: 31.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.412e-05/0.3905, allocations: 16.09 kB / 0.5622 GB, free: 31.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001414/0.3906, allocations: 1.312 kB / 0.5622 GB, free: 31.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003239/0.391, allocations: 139.9 kB / 0.5623 GB, free: 31.17 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001141/0.3911, allocations: 0.6742 MB / 0.563 GB, free: 30.47 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.163e-05/0.3911, allocations: 10.12 kB / 0.563 GB, free: 30.46 MB / 446.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3911, allocations: 0 / 0.563 GB, free: 30.46 MB / 446.1 MB Notification: Performance of Templates: time 0.002477/0.3936, allocations: 0.6882 MB / 0.5636 GB, free: 30.46 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)