Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.006796/0.006796, allocations: 98.25 kB / 15.73 MB, free: 6.445 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.001559/0.001559, allocations: 196.4 kB / 16.68 MB, free: 6.352 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9395/0.9395, allocations: 135.1 MB / 425.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 67.89 kB / 0.5856 GB, free: 3.316 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4413/0.4425, allocations: 80.92 MB / 0.6646 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001976/0.4445, allocations: 1.245 MB / 0.6659 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008895/0.4454, allocations: 0.5901 MB / 0.6664 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.03e-05/0.4455, allocations: 4 kB / 0.6664 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.496e-05/0.4455, allocations: 0 / 0.6664 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.04e-05/0.4456, allocations: 5.531 kB / 0.6664 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004983/0.4461, allocations: 142.7 kB / 0.6666 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.838e-05/0.4461, allocations: 17.19 kB / 0.6666 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.1e-05/0.4462, allocations: 1.281 kB / 0.6666 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.265e-05/0.4462, allocations: 1.625 kB / 0.6666 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.169e-05/0.4463, allocations: 6.625 kB / 0.6666 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.4463, allocations: 4.938 kB / 0.6666 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005329/0.4468, allocations: 340.7 kB / 0.6669 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.11e-05/0.4469, allocations: 5.266 kB / 0.6669 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.058e-05/0.4469, allocations: 1.281 kB / 0.6669 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002548/0.4471, allocations: 144.6 kB / 0.6671 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.4472, allocations: 0 / 0.6671 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4472, allocations: 0 / 0.6671 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.178e-06/0.4472, allocations: 1.375 kB / 0.6671 GB, free: 5.73 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.0003226/0.4475, allocations: 351.1 kB / 0.6674 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.4476, allocations: 13.75 kB / 0.6674 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.682e-05/0.4476, allocations: 0.9375 kB / 0.6674 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.04e-05/0.4477, allocations: 165.7 kB / 0.6676 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.4477, allocations: 384 / 0.6676 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.4477, allocations: 1.5 kB / 0.6676 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.53e-05/0.4478, allocations: 41.81 kB / 0.6676 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.535e-06/0.4478, allocations: 0 / 0.6676 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.4478, allocations: 0 / 0.6676 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.4478, allocations: 0 / 0.6676 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.679e-05/0.4478, allocations: 7.094 kB / 0.6676 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001125/0.448, allocations: 153.6 kB / 0.6678 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.267e-05/0.448, allocations: 31.41 kB / 0.6678 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.719e-05/0.448, allocations: 11.14 kB / 0.6678 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.4481, allocations: 5.125 kB / 0.6678 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.512e-05/0.4481, allocations: 30.56 kB / 0.6679 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.4481, allocations: 1.25 kB / 0.6679 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001318/0.4482, allocations: 42.83 kB / 0.6679 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.071e-05/0.4483, allocations: 55.39 kB / 0.6679 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.937e-05/0.4483, allocations: 92.86 kB / 0.668 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.027e-06/0.4483, allocations: 29.7 kB / 0.6681 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.81e-05/0.4484, allocations: 81.64 kB / 0.6681 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.496e-05/0.4484, allocations: 8.984 kB / 0.6682 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.374e-05/0.4484, allocations: 12.12 kB / 0.6682 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.867e-05/0.4485, allocations: 323.1 kB / 0.6685 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.379e-05/0.4485, allocations: 6.562 kB / 0.6685 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.386e-06/0.4485, allocations: 1.344 kB / 0.6685 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.831e-05/0.4485, allocations: 10.61 kB / 0.6685 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.4485, allocations: 0 / 0.6685 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.415e-05/0.4486, allocations: 42.86 kB / 0.6685 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.4486, allocations: 4.344 kB / 0.6685 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.4486, allocations: 1 kB / 0.6685 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.4486, allocations: 8.078 kB / 0.6685 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.4488, allocations: 8.281 kB / 0.6686 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002362/0.449, allocations: 0.582 MB / 0.6691 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.787e-05/0.4491, allocations: 1.156 kB / 0.6691 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.4491, allocations: 0 / 0.6691 GB, free: 3.496 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.574e-05/0.4491, allocations: 126.2 kB / 0.6692 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.963e-06/0.4492, allocations: 3.953 kB / 0.6692 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.083e-05/0.4492, allocations: 41.92 kB / 0.6693 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.4493, allocations: 0 / 0.6693 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.4493, allocations: 7.922 kB / 0.6693 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.4493, allocations: 1.188 kB / 0.6693 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.199e-05/0.4493, allocations: 148 kB / 0.6694 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.4493, allocations: 0 / 0.6694 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.916e-05/0.4494, allocations: 11.67 kB / 0.6694 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.4494, allocations: 1.5 kB / 0.6694 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.4494, allocations: 4.031 kB / 0.6695 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001676/0.4496, allocations: 0.591 MB / 0.67 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4496, allocations: 0 / 0.67 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.72e-05/0.4497, allocations: 70 kB / 0.6701 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.702e-05/0.4497, allocations: 82.64 kB / 0.6702 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.079e-05/0.4497, allocations: 5.281 kB / 0.6702 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.335e-05/0.4497, allocations: 0 / 0.6702 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.551e-05/0.4498, allocations: 1.469 kB / 0.6702 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.4498, allocations: 0 / 0.6702 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.907e-05/0.4498, allocations: 81.77 kB / 0.6703 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4498, allocations: 0 / 0.6703 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000194/0.45, allocations: 10.56 kB / 0.6703 GB, free: 2.25 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.0001439/0.4501, allocations: 119.8 kB / 0.6704 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000164/0.4503, allocations: 21.2 kB / 0.6704 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4503, allocations: 0 / 0.6704 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.268e-05/0.4504, allocations: 13.84 kB / 0.6704 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001363/0.4506, allocations: 5.406 kB / 0.6704 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002935/0.4509, allocations: 106.6 kB / 0.6705 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.412e-05/0.451, allocations: 0.6795 MB / 0.6712 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.493e-05/0.451, allocations: 1.406 kB / 0.6712 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.149e-05/0.451, allocations: 7.438 kB / 0.6712 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.451, allocations: 1.5 kB / 0.6712 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of Templates: time 0.002288/0.4533, allocations: 454 kB / 0.6716 GB, free: 1.078 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)