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.001386/0.001387, allocations: 101.4 kB / 16.27 MB, free: 6.414 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.001668/0.001668, allocations: 184.4 kB / 17.2 MB, free: 5.953 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.338/1.338, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7542/0.7542, allocations: 122.9 MB / 413.9 MB, free: 15.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 63.91 kB / 0.4911 GB, free: 7.418 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.412/0.4132, allocations: 77.94 MB / 0.5672 GB, free: 32.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002896/0.4161, allocations: 1.237 MB / 0.5684 GB, free: 31.81 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.4172, allocations: 0.5849 MB / 0.569 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.284e-05/0.4172, allocations: 3.25 kB / 0.569 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.804e-05/0.4173, allocations: 0.5625 kB / 0.569 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.161e-05/0.4173, allocations: 0 / 0.569 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006463/0.418, allocations: 147.7 kB / 0.5692 GB, free: 31.34 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.137e-05/0.4181, allocations: 9.188 kB / 0.5692 GB, free: 31.34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.23e-05/0.4182, allocations: 3.672 kB / 0.5692 GB, free: 31.34 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.122e-05/0.4182, allocations: 7.031 kB / 0.5692 GB, free: 31.33 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.643e-05/0.4183, allocations: 2.859 kB / 0.5692 GB, free: 31.33 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.4183, allocations: 1.75 kB / 0.5692 GB, free: 31.33 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000625/0.4189, allocations: 344.6 kB / 0.5695 GB, free: 31.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.236e-05/0.4189, allocations: 7.047 kB / 0.5695 GB, free: 31.23 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.313e-05/0.419, allocations: 6.188 kB / 0.5695 GB, free: 31.22 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003135/0.4193, allocations: 142 kB / 0.5697 GB, free: 31.18 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.4193, allocations: 4.812 kB / 0.5697 GB, free: 31.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.4193, allocations: 0 / 0.5697 GB, free: 31.18 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.4193, allocations: 0.5 kB / 0.5697 GB, free: 31.18 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.0004371/0.4198, allocations: 349 kB / 0.57 GB, free: 30.8 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.4198, allocations: 9.625 kB / 0.57 GB, free: 30.8 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.583e-05/0.4199, allocations: 6.125 kB / 0.57 GB, free: 30.8 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.578e-05/0.42, allocations: 161.2 kB / 0.5702 GB, free: 30.61 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.345e-06/0.42, allocations: 5.281 kB / 0.5702 GB, free: 30.6 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.42, allocations: 1.5 kB / 0.5702 GB, free: 30.6 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.837e-05/0.4201, allocations: 31.45 kB / 0.5702 GB, free: 30.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.4201, allocations: 1.188 kB / 0.5702 GB, free: 30.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.4201, allocations: 5.062 kB / 0.5702 GB, free: 30.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.4201, allocations: 0.9844 kB / 0.5702 GB, free: 30.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.25e-05/0.4202, allocations: 7.875 kB / 0.5702 GB, free: 30.56 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001391/0.4203, allocations: 151.6 kB / 0.5704 GB, free: 30.37 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.378e-05/0.4204, allocations: 22.36 kB / 0.5704 GB, free: 30.35 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.089e-05/0.4204, allocations: 12.08 kB / 0.5704 GB, free: 30.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.4204, allocations: 5.062 kB / 0.5704 GB, free: 30.33 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.299e-05/0.4204, allocations: 32.84 kB / 0.5704 GB, free: 30.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.4205, allocations: 1.031 kB / 0.5704 GB, free: 30.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.000148/0.4206, allocations: 49.25 kB / 0.5705 GB, free: 30.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.315e-05/0.4206, allocations: 53.19 kB / 0.5705 GB, free: 30.19 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.467e-05/0.4207, allocations: 93.97 kB / 0.5706 GB, free: 30.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.252e-06/0.4207, allocations: 27.95 kB / 0.5706 GB, free: 30.06 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.281e-05/0.4207, allocations: 81.12 kB / 0.5707 GB, free: 29.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.73e-05/0.4208, allocations: 8.875 kB / 0.5707 GB, free: 29.97 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.589e-05/0.4208, allocations: 19.38 kB / 0.5707 GB, free: 29.95 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.007e-05/0.4209, allocations: 311.7 kB / 0.571 GB, free: 29.64 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.309e-05/0.4209, allocations: 3.625 kB / 0.571 GB, free: 29.64 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.317e-06/0.4209, allocations: 2.219 kB / 0.5711 GB, free: 29.64 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.027e-05/0.4209, allocations: 16.23 kB / 0.5711 GB, free: 29.62 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.4209, allocations: 0 / 0.5711 GB, free: 29.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.702e-05/0.421, allocations: 40.75 kB / 0.5711 GB, free: 29.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.421, allocations: 5.594 kB / 0.5711 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.421, allocations: 5.5 kB / 0.5711 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.421, allocations: 1.859 kB / 0.5711 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/0.4212, allocations: 8.922 kB / 0.5711 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000255/0.4215, allocations: 0.588 MB / 0.5717 GB, free: 29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.948e-05/0.4215, allocations: 0 / 0.5717 GB, free: 29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.4215, allocations: 5.031 kB / 0.5717 GB, free: 28.99 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.686e-05/0.4216, allocations: 119.9 kB / 0.5718 GB, free: 28.87 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.686e-06/0.4216, allocations: 3.906 kB / 0.5718 GB, free: 28.87 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.115e-05/0.4217, allocations: 49.28 kB / 0.5719 GB, free: 28.83 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.4217, allocations: 0.5625 kB / 0.5719 GB, free: 28.83 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.4217, allocations: 5.844 kB / 0.5719 GB, free: 28.82 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.706e-06/0.4217, allocations: 0.75 kB / 0.5719 GB, free: 28.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.323e-05/0.4218, allocations: 156.9 kB / 0.572 GB, free: 28.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.4218, allocations: 0 / 0.572 GB, free: 28.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.666e-05/0.4219, allocations: 10.27 kB / 0.572 GB, free: 28.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.4219, allocations: 0 / 0.572 GB, free: 28.63 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.4219, allocations: 2.781 kB / 0.572 GB, free: 28.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000188/0.4221, allocations: 0.5846 MB / 0.5726 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4221, allocations: 3.938 kB / 0.5726 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.74e-05/0.4222, allocations: 63.31 kB / 0.5727 GB, free: 27.97 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.711e-05/0.4222, allocations: 78.38 kB / 0.5727 GB, free: 27.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.4222, allocations: 1.656 kB / 0.5728 GB, free: 27.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.451e-05/0.4222, allocations: 1.875 kB / 0.5728 GB, free: 27.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.171e-05/0.4223, allocations: 5.703 kB / 0.5728 GB, free: 27.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.4223, allocations: 2.469 kB / 0.5728 GB, free: 27.87 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.941e-05/0.4223, allocations: 81.55 kB / 0.5728 GB, free: 27.79 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4223, allocations: 0.5 kB / 0.5728 GB, free: 27.79 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001964/0.4225, allocations: 14.14 kB / 0.5729 GB, free: 27.79 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.0001423/0.4227, allocations: 108.3 kB / 0.573 GB, free: 27.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001784/0.4228, allocations: 18.11 kB / 0.573 GB, free: 27.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4229, allocations: 1.75 kB / 0.573 GB, free: 27.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.788e-05/0.423, allocations: 17.84 kB / 0.573 GB, free: 27.69 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001475/0.4231, allocations: 0.9375 kB / 0.573 GB, free: 27.69 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003796/0.4235, allocations: 113.2 kB / 0.5731 GB, free: 27.58 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001369/0.4236, allocations: 0.6785 MB / 0.5738 GB, free: 26.88 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.894e-05/0.4237, allocations: 0.9688 kB / 0.5738 GB, free: 26.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.53e-05/0.4237, allocations: 9.156 kB / 0.5738 GB, free: 26.87 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4237, allocations: 0 / 0.5738 GB, free: 26.87 MB / 446.1 MB Notification: Performance of Templates: time 0.002987/0.4267, allocations: 457.7 kB / 0.5742 GB, free: 26.84 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)