Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001395/0.001395, allocations: 102.2 kB / 16.27 MB, free: 6 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.001529/0.00153, allocations: 193.3 kB / 17.2 MB, free: 5.609 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.444/1.444, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9113/0.9113, allocations: 132.2 MB / 423.2 MB, free: 6.641 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001556, allocations: 63.91 kB / 0.5024 GB, free: 11.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3587, allocations: 80.19 MB / 0.5807 GB, free: 27.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002245/0.361, allocations: 1.241 MB / 0.582 GB, free: 26.37 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007965/0.3618, allocations: 0.593 MB / 0.5825 GB, free: 25.9 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.282e-05/0.3619, allocations: 1.406 kB / 0.5825 GB, free: 25.9 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.041e-05/0.3619, allocations: 0 / 0.5825 GB, free: 25.9 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.631e-05/0.362, allocations: 3.938 kB / 0.5825 GB, free: 25.89 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004554/0.3624, allocations: 141.2 kB / 0.5827 GB, free: 25.8 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.55e-05/0.3625, allocations: 4.375 kB / 0.5827 GB, free: 25.8 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.566e-05/0.3625, allocations: 10.08 kB / 0.5827 GB, free: 25.79 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.817e-05/0.3625, allocations: 10.69 kB / 0.5827 GB, free: 25.79 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.81e-05/0.3626, allocations: 7.375 kB / 0.5827 GB, free: 25.78 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.768e-06/0.3626, allocations: 0 / 0.5827 GB, free: 25.78 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004307/0.363, allocations: 341.5 kB / 0.583 GB, free: 25.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.11e-05/0.3631, allocations: 2.969 kB / 0.583 GB, free: 25.59 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.849e-05/0.3631, allocations: 9.391 kB / 0.583 GB, free: 25.58 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000217/0.3633, allocations: 141 kB / 0.5832 GB, free: 25.5 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.3633, allocations: 0.7188 kB / 0.5832 GB, free: 25.5 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3633, allocations: 0 / 0.5832 GB, free: 25.5 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.3633, allocations: 2.281 kB / 0.5832 GB, free: 25.5 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.0002836/0.3636, allocations: 347.1 kB / 0.5835 GB, free: 25.12 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.3637, allocations: 15.27 kB / 0.5835 GB, free: 25.12 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.815e-05/0.3637, allocations: 4.938 kB / 0.5835 GB, free: 25.12 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.34e-05/0.3638, allocations: 161.7 kB / 0.5837 GB, free: 24.92 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.3638, allocations: 2.25 kB / 0.5837 GB, free: 24.92 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.073e-06/0.3638, allocations: 2.562 kB / 0.5837 GB, free: 24.92 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.24e-05/0.3639, allocations: 37.89 kB / 0.5837 GB, free: 24.88 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.732e-06/0.3639, allocations: 0 / 0.5837 GB, free: 24.88 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.3639, allocations: 0 / 0.5837 GB, free: 24.88 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3639, allocations: 1.375 kB / 0.5837 GB, free: 24.88 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.34e-05/0.3639, allocations: 7.547 kB / 0.5837 GB, free: 24.88 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001019/0.364, allocations: 152.2 kB / 0.5839 GB, free: 24.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.926e-05/0.3641, allocations: 25.8 kB / 0.5839 GB, free: 24.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.581e-05/0.3641, allocations: 19.28 kB / 0.5839 GB, free: 24.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.3641, allocations: 1.25 kB / 0.5839 GB, free: 24.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.44e-05/0.3641, allocations: 35.72 kB / 0.584 GB, free: 24.59 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.733e-06/0.3641, allocations: 0.5 kB / 0.584 GB, free: 24.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001164/0.3643, allocations: 42.23 kB / 0.584 GB, free: 24.56 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.329e-05/0.3643, allocations: 51.41 kB / 0.584 GB, free: 24.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.399e-05/0.3643, allocations: 97.19 kB / 0.5841 GB, free: 24.39 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.312e-06/0.3644, allocations: 25.7 kB / 0.5842 GB, free: 24.36 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.402e-05/0.3644, allocations: 84.55 kB / 0.5842 GB, free: 24.28 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.222e-05/0.3644, allocations: 13.25 kB / 0.5843 GB, free: 24.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.163e-05/0.3644, allocations: 9.719 kB / 0.5843 GB, free: 24.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.601e-05/0.3645, allocations: 312.3 kB / 0.5846 GB, free: 23.94 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.214e-05/0.3645, allocations: 8.094 kB / 0.5846 GB, free: 23.94 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.736e-06/0.3645, allocations: 7.859 kB / 0.5846 GB, free: 23.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.299e-05/0.3645, allocations: 15.3 kB / 0.5846 GB, free: 23.92 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.3645, allocations: 0 / 0.5846 GB, free: 23.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.957e-05/0.3646, allocations: 41.33 kB / 0.5846 GB, free: 23.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.3646, allocations: 6.938 kB / 0.5846 GB, free: 23.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.3646, allocations: 0 / 0.5846 GB, free: 23.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.3647, allocations: 2.594 kB / 0.5846 GB, free: 23.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.3648, allocations: 15.2 kB / 0.5847 GB, free: 23.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002239/0.365, allocations: 0.5884 MB / 0.5852 GB, free: 23.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.698e-05/0.3651, allocations: 0 / 0.5852 GB, free: 23.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.3651, allocations: 2.25 kB / 0.5852 GB, free: 23.28 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 4.852e-05/0.3651, allocations: 112.3 kB / 0.5853 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.494e-06/0.3651, allocations: 1.469 kB / 0.5853 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.962e-05/0.3652, allocations: 45.78 kB / 0.5854 GB, free: 23.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.3652, allocations: 0 / 0.5854 GB, free: 23.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3652, allocations: 5.062 kB / 0.5854 GB, free: 23.11 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.3653, allocations: 1.75 kB / 0.5854 GB, free: 23.11 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.435e-05/0.3653, allocations: 156.9 kB / 0.5855 GB, free: 22.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.3653, allocations: 0 / 0.5855 GB, free: 22.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.38e-05/0.3654, allocations: 11.83 kB / 0.5856 GB, free: 22.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.3654, allocations: 0 / 0.5856 GB, free: 22.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-06/0.3654, allocations: 1.656 kB / 0.5856 GB, free: 22.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001744/0.3656, allocations: 0.5844 MB / 0.5861 GB, free: 22.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3656, allocations: 0 / 0.5861 GB, free: 22.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.392e-05/0.3657, allocations: 68.66 kB / 0.5862 GB, free: 22.24 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.702e-05/0.3657, allocations: 81.64 kB / 0.5863 GB, free: 22.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.888e-06/0.3657, allocations: 1.062 kB / 0.5863 GB, free: 22.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.494e-05/0.3657, allocations: 5.625 kB / 0.5863 GB, free: 22.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.11e-05/0.3657, allocations: 0.5312 kB / 0.5863 GB, free: 22.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.3657, allocations: 10.84 kB / 0.5863 GB, free: 22.13 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.821e-05/0.3658, allocations: 81.84 kB / 0.5864 GB, free: 22.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3658, allocations: 0 / 0.5864 GB, free: 22.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001975/0.366, allocations: 14.45 kB / 0.5864 GB, free: 22.05 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.0001396/0.3661, allocations: 102.9 kB / 0.5865 GB, free: 21.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001465/0.3663, allocations: 18.8 kB / 0.5865 GB, free: 21.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3663, allocations: 1.688 kB / 0.5865 GB, free: 21.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.352e-05/0.3664, allocations: 22.39 kB / 0.5865 GB, free: 21.95 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00014/0.3665, allocations: 1.25 kB / 0.5865 GB, free: 21.95 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002944/0.3668, allocations: 139.1 kB / 0.5866 GB, free: 21.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.921e-05/0.3669, allocations: 0.6778 MB / 0.5873 GB, free: 21.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.216e-05/0.367, allocations: 8.75 kB / 0.5873 GB, free: 21.09 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.367, allocations: 0 / 0.5873 GB, free: 21.09 MB / 446.1 MB Notification: Performance of Templates: time 0.001936/0.3689, allocations: 0.7 MB / 0.588 GB, free: 20.76 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)