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.005993/0.005993, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001164/0.001164, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7558/0.7558, allocations: 132.2 MB / 422.7 MB, free: 1.668 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 67.88 kB / 0.5813 GB, free: 7.566 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4075/0.4089, allocations: 80.2 MB / 0.6597 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.00291/0.4118, allocations: 1.242 MB / 0.6609 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001006/0.4128, allocations: 0.599 MB / 0.6615 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.393e-05/0.4129, allocations: 1.438 kB / 0.6615 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.696e-05/0.4129, allocations: 0.6094 kB / 0.6615 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.445e-05/0.413, allocations: 0 / 0.6615 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008552/0.4139, allocations: 147.1 kB / 0.6616 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.229e-05/0.4139, allocations: 9.516 kB / 0.6616 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.858e-05/0.414, allocations: 3.438 kB / 0.6616 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.491e-05/0.414, allocations: 2 kB / 0.6616 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.563e-05/0.4141, allocations: 7.297 kB / 0.6616 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.4141, allocations: 1.469 kB / 0.6616 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007751/0.4149, allocations: 344.3 kB / 0.662 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.263e-05/0.4149, allocations: 0.75 kB / 0.662 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.935e-05/0.415, allocations: 7.703 kB / 0.662 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003701/0.4153, allocations: 133.3 kB / 0.6621 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.4154, allocations: 5.406 kB / 0.6621 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4154, allocations: 0 / 0.6621 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.4154, allocations: 0 / 0.6621 GB, free: 8.816 MB / 0.4981 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.0004089/0.4158, allocations: 350.9 kB / 0.6624 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.4158, allocations: 9.094 kB / 0.6624 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.52e-05/0.4159, allocations: 2.5 kB / 0.6624 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.833e-05/0.416, allocations: 163 kB / 0.6626 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.416, allocations: 384 / 0.6626 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.416, allocations: 5.422 kB / 0.6626 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.818e-05/0.4161, allocations: 46.61 kB / 0.6627 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.4161, allocations: 0 / 0.6627 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.4161, allocations: 0 / 0.6627 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.4162, allocations: 5.312 kB / 0.6627 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.762e-05/0.4162, allocations: 2.531 kB / 0.6627 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001317/0.4163, allocations: 148.2 kB / 0.6628 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.819e-05/0.4164, allocations: 24.47 kB / 0.6628 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.721e-05/0.4164, allocations: 18.17 kB / 0.6628 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.4164, allocations: 9.203 kB / 0.6628 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.4165, allocations: 35.94 kB / 0.6629 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.4165, allocations: 0 / 0.6629 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001494/0.4166, allocations: 47.19 kB / 0.6629 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.647e-05/0.4166, allocations: 51.41 kB / 0.663 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.191e-05/0.4167, allocations: 96.55 kB / 0.6631 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.284e-06/0.4167, allocations: 31.05 kB / 0.6631 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.891e-05/0.4168, allocations: 80.14 kB / 0.6632 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.663e-05/0.4168, allocations: 5.031 kB / 0.6632 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.741e-05/0.4168, allocations: 16.22 kB / 0.6632 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.844e-05/0.4169, allocations: 316.3 kB / 0.6635 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.285e-05/0.4169, allocations: 1.031 kB / 0.6635 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.818e-06/0.4169, allocations: 2.438 kB / 0.6635 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.931e-05/0.4169, allocations: 22.17 kB / 0.6635 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4169, allocations: 0 / 0.6635 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.279e-05/0.417, allocations: 42.45 kB / 0.6636 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.417, allocations: 7.094 kB / 0.6636 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.417, allocations: 0 / 0.6636 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.4171, allocations: 5.203 kB / 0.6636 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.4172, allocations: 7.219 kB / 0.6636 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002478/0.4175, allocations: 0.5872 MB / 0.6642 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.92e-05/0.4175, allocations: 0 / 0.6642 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.4175, allocations: 1.062 kB / 0.6642 GB, free: 6.582 MB / 0.4981 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 5.81e-05/0.4176, allocations: 120 kB / 0.6643 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.967e-06/0.4176, allocations: 1.156 kB / 0.6643 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001007/0.4177, allocations: 44.52 kB / 0.6643 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.4177, allocations: 5.234 kB / 0.6643 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.4177, allocations: 4.125 kB / 0.6643 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.4177, allocations: 0 / 0.6643 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.242e-05/0.4178, allocations: 148.6 kB / 0.6645 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4178, allocations: 1.281 kB / 0.6645 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.104e-05/0.4179, allocations: 10.92 kB / 0.6645 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.4179, allocations: 1.125 kB / 0.6645 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.4179, allocations: 4 kB / 0.6645 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001877/0.4181, allocations: 0.5866 MB / 0.6651 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4181, allocations: 8.031 kB / 0.6651 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.85e-05/0.4182, allocations: 67.16 kB / 0.6651 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.633e-05/0.4182, allocations: 77.11 kB / 0.6652 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.4182, allocations: 4.938 kB / 0.6652 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.434e-05/0.4182, allocations: 1.094 kB / 0.6652 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.371e-05/0.4183, allocations: 1.531 kB / 0.6652 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.4183, allocations: 7.922 kB / 0.6652 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.81e-05/0.4183, allocations: 84.81 kB / 0.6653 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4183, allocations: 0 / 0.6653 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001996/0.4185, allocations: 8.469 kB / 0.6653 GB, free: 5.336 MB / 0.4981 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.000155/0.4187, allocations: 113.3 kB / 0.6654 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001699/0.4188, allocations: 17.3 kB / 0.6654 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4189, allocations: 0 / 0.6654 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.424e-05/0.4189, allocations: 13.5 kB / 0.6654 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000143/0.4191, allocations: 1.219 kB / 0.6654 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003239/0.4194, allocations: 116.8 kB / 0.6656 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001087/0.4196, allocations: 0.675 MB / 0.6662 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.618e-05/0.4196, allocations: 1.125 kB / 0.6662 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.278e-05/0.4196, allocations: 9.094 kB / 0.6662 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of SimCode: time 3.01e-07/0.4196, allocations: 4.062 kB / 0.6662 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of Templates: time 0.002657/0.4223, allocations: 446.6 kB / 0.6667 GB, free: 4.195 MB / 0.4981 GB 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)