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.004961/0.004961, allocations: 96.23 kB / 15.73 MB, free: 6.062 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.001158/0.001158, allocations: 198 kB / 16.68 MB, free: 5.98 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7859/0.7859, allocations: 132.2 MB / 422.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 59.91 kB / 0.5813 GB, free: 7.602 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4387/0.4399, allocations: 80.2 MB / 0.6597 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.00203/0.442, allocations: 1.241 MB / 0.6609 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008748/0.4428, allocations: 0.6028 MB / 0.6615 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.844e-05/0.4429, allocations: 0 / 0.6615 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.611e-05/0.4429, allocations: 0.5625 kB / 0.6615 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.278e-05/0.443, allocations: 0 / 0.6615 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004898/0.4435, allocations: 143.1 kB / 0.6616 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.83e-05/0.4435, allocations: 10.78 kB / 0.6616 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.598e-05/0.4436, allocations: 2.156 kB / 0.6616 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.015e-05/0.4436, allocations: 10.7 kB / 0.6616 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.564e-05/0.4436, allocations: 7.828 kB / 0.6616 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.01e-05/0.4437, allocations: 0 / 0.6616 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005201/0.4442, allocations: 340.1 kB / 0.662 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.063e-05/0.4442, allocations: 6.172 kB / 0.662 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.188e-05/0.4442, allocations: 1.906 kB / 0.662 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002569/0.4445, allocations: 144.3 kB / 0.6621 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.4445, allocations: 4 kB / 0.6621 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.683e-06/0.4445, allocations: 1.188 kB / 0.6621 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.4445, allocations: 0 / 0.6621 GB, free: 8.789 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.0003183/0.4448, allocations: 348.4 kB / 0.6624 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.4449, allocations: 10.05 kB / 0.6624 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.244e-05/0.4449, allocations: 4.891 kB / 0.6625 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.252e-05/0.445, allocations: 163.2 kB / 0.6626 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.218e-06/0.445, allocations: 1.875 kB / 0.6626 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.445, allocations: 4.375 kB / 0.6626 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.854e-05/0.4451, allocations: 43.64 kB / 0.6627 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.4452, allocations: 0 / 0.6627 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.687e-06/0.4452, allocations: 0 / 0.6627 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.4452, allocations: 1.312 kB / 0.6627 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.454e-05/0.4452, allocations: 6.953 kB / 0.6627 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001194/0.4453, allocations: 154.6 kB / 0.6628 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.464e-05/0.4454, allocations: 25.19 kB / 0.6628 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.788e-05/0.4454, allocations: 11.94 kB / 0.6628 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.4454, allocations: 9.188 kB / 0.6629 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.235e-05/0.4454, allocations: 31.81 kB / 0.6629 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.4454, allocations: 0 / 0.6629 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.000143/0.4456, allocations: 44.94 kB / 0.6629 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.452e-05/0.4456, allocations: 52.06 kB / 0.663 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.326e-05/0.4457, allocations: 98.91 kB / 0.6631 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.011e-06/0.4457, allocations: 25.7 kB / 0.6631 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.494e-05/0.4457, allocations: 81.27 kB / 0.6632 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.329e-05/0.4457, allocations: 8.516 kB / 0.6632 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.532e-05/0.4458, allocations: 14.48 kB / 0.6632 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.57e-05/0.4458, allocations: 311.4 kB / 0.6635 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.209e-05/0.4458, allocations: 2.391 kB / 0.6635 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.959e-06/0.4459, allocations: 7.828 kB / 0.6635 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.565e-05/0.4459, allocations: 17.14 kB / 0.6635 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.4459, allocations: 1.531 kB / 0.6635 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.491e-05/0.4459, allocations: 43.59 kB / 0.6636 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.446, allocations: 6.906 kB / 0.6636 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.446, allocations: 0 / 0.6636 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.446, allocations: 1.984 kB / 0.6636 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.4462, allocations: 9.766 kB / 0.6636 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002314/0.4464, allocations: 0.5837 MB / 0.6642 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.658e-05/0.4464, allocations: 7.891 kB / 0.6642 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-06/0.4464, allocations: 2.016 kB / 0.6642 GB, free: 6.578 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 4.826e-05/0.4465, allocations: 112.5 kB / 0.6643 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.524e-06/0.4465, allocations: 1.406 kB / 0.6643 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.266e-05/0.4466, allocations: 44.02 kB / 0.6643 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.4466, allocations: 128 / 0.6643 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.4466, allocations: 4 kB / 0.6643 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.4466, allocations: 1.891 kB / 0.6643 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.883e-05/0.4467, allocations: 154.5 kB / 0.6645 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.4467, allocations: 0.7031 kB / 0.6645 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.079e-05/0.4468, allocations: 13.89 kB / 0.6645 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.4468, allocations: 0.7031 kB / 0.6645 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.4468, allocations: 1.375 kB / 0.6645 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001644/0.447, allocations: 0.5961 MB / 0.6651 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.447, allocations: 1.312 kB / 0.6651 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.133e-05/0.447, allocations: 65.53 kB / 0.6651 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.679e-05/0.447, allocations: 78.45 kB / 0.6652 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.4471, allocations: 5.594 kB / 0.6652 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.289e-05/0.4471, allocations: 0 / 0.6652 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.701e-05/0.4471, allocations: 5.312 kB / 0.6652 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-06/0.4471, allocations: 4.125 kB / 0.6652 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.044e-05/0.4471, allocations: 80.72 kB / 0.6653 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4471, allocations: 0.9375 kB / 0.6653 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001915/0.4473, allocations: 11.09 kB / 0.6653 GB, free: 5.348 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.000141/0.4475, allocations: 113.5 kB / 0.6654 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001601/0.4476, allocations: 16.89 kB / 0.6654 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.4477, allocations: 4.156 kB / 0.6654 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.87e-05/0.4477, allocations: 18.27 kB / 0.6654 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001319/0.4479, allocations: 2.5 kB / 0.6655 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002906/0.4482, allocations: 105.9 kB / 0.6656 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.848e-05/0.4483, allocations: 0.6721 MB / 0.6662 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.558e-05/0.4483, allocations: 5.266 kB / 0.6662 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.022e-05/0.4483, allocations: 11.5 kB / 0.6662 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.4483, allocations: 1.312 kB / 0.6662 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of Templates: time 0.002328/0.4507, allocations: 448 kB / 0.6667 GB, free: 4.207 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)