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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.01045/0.01044, allocations: 169.2 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7054/0.7054, allocations: 132.3 MB / 148.1 MB, free: 236 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 223.2 MB / 403.2 MB, free: 6.77 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009094/0.0009094, allocations: 90.27 kB / 485.5 MB, free: 14.15 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003083/0.0003084, allocations: 16 kB / 0.5641 GB, free: 2.113 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.3678, allocations: 81.58 MB / 0.6438 GB, free: 39.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.137/0.5048, allocations: 111.6 MB / 0.7528 GB, free: 8.289 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/0.5051, allocations: 79.94 kB / 0.7529 GB, free: 8.211 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01002/0.5151, allocations: 3.489 MB / 0.7563 GB, free: 4.719 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5152, allocations: 0 / 0.7563 GB, free: 4.719 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.5152, allocations: 0 / 0.7563 GB, free: 4.719 MB / 0.5261 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.0002926/0.5155, allocations: 339.3 kB / 0.7566 GB, free: 4.34 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.5155, allocations: 12.03 kB / 0.7566 GB, free: 4.328 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.051e-05/0.5156, allocations: 7.906 kB / 0.7566 GB, free: 4.32 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.5157, allocations: 167 kB / 0.7568 GB, free: 4.117 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.5157, allocations: 0 / 0.7568 GB, free: 4.117 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.5157, allocations: 7.938 kB / 0.7568 GB, free: 4.109 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.816e-05/0.5158, allocations: 29.69 kB / 0.7568 GB, free: 4.074 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.5158, allocations: 0 / 0.7568 GB, free: 4.074 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.5158, allocations: 4 kB / 0.7568 GB, free: 4.07 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.5159, allocations: 4 kB / 0.7568 GB, free: 4.066 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.409e-05/0.5159, allocations: 0 / 0.7568 GB, free: 4.066 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001467/0.516, allocations: 157.6 kB / 0.757 GB, free: 3.863 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.184e-05/0.5161, allocations: 26.61 kB / 0.757 GB, free: 3.828 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.5161, allocations: 8 kB / 0.757 GB, free: 3.82 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/0.5161, allocations: 30.56 kB / 0.757 GB, free: 3.781 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.5162, allocations: 0 / 0.757 GB, free: 3.781 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001146/0.5163, allocations: 41.69 kB / 0.7571 GB, free: 3.734 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/0.5163, allocations: 55.41 kB / 0.7571 GB, free: 3.668 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.037e-05/0.5164, allocations: 89 kB / 0.7572 GB, free: 3.574 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.5164, allocations: 25.7 kB / 0.7572 GB, free: 3.543 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.16e-05/0.5164, allocations: 84.08 kB / 0.7573 GB, free: 3.457 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.908e-05/0.5164, allocations: 3.906 kB / 0.7573 GB, free: 3.453 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-06/0.5164, allocations: 4 kB / 0.7573 GB, free: 3.449 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.385e-05/0.5165, allocations: 323 kB / 0.7576 GB, free: 3.125 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.127e-05/0.5165, allocations: 0 / 0.7576 GB, free: 3.125 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.047e-06/0.5166, allocations: 11.92 kB / 0.7576 GB, free: 3.113 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.393e-05/0.5166, allocations: 0 / 0.7576 GB, free: 3.113 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.5166, allocations: 0 / 0.7576 GB, free: 3.113 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.277e-05/0.5166, allocations: 37.7 kB / 0.7577 GB, free: 3.07 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.5167, allocations: 10.19 kB / 0.7577 GB, free: 3.062 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.5167, allocations: 0 / 0.7577 GB, free: 3.062 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.5167, allocations: 0 / 0.7577 GB, free: 3.062 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.5168, allocations: 16.02 kB / 0.7577 GB, free: 3.047 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000321/0.5172, allocations: 0.586 MB / 0.7583 GB, free: 2.438 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.62e-05/0.5172, allocations: 3.953 kB / 0.7583 GB, free: 2.434 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.5172, allocations: 32 / 0.7583 GB, free: 2.434 MB / 0.5261 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 7.262e-05/0.5173, allocations: 112.2 kB / 0.7584 GB, free: 2.316 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.522e-06/0.5173, allocations: 0 / 0.7584 GB, free: 2.316 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.208e-05/0.5174, allocations: 48.91 kB / 0.7584 GB, free: 2.266 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.5174, allocations: 0 / 0.7584 GB, free: 2.266 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.5174, allocations: 0 / 0.7584 GB, free: 2.266 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.5175, allocations: 4 kB / 0.7584 GB, free: 2.262 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.71e-05/0.5176, allocations: 161.5 kB / 0.7586 GB, free: 2.055 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.5176, allocations: 0 / 0.7586 GB, free: 2.055 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.361e-05/0.5176, allocations: 11.98 kB / 0.7586 GB, free: 2.043 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.5177, allocations: 3.938 kB / 0.7586 GB, free: 2.039 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.5177, allocations: 7.984 kB / 0.7586 GB, free: 2.031 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002965/0.518, allocations: 0.586 MB / 0.7592 GB, free: 1.422 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.518, allocations: 0 / 0.7592 GB, free: 1.422 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.274e-05/0.518, allocations: 61.16 kB / 0.7592 GB, free: 1.344 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.343e-05/0.5181, allocations: 81.05 kB / 0.7593 GB, free: 1.246 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.5181, allocations: 4 kB / 0.7593 GB, free: 1.242 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.514e-05/0.5181, allocations: 8.062 kB / 0.7593 GB, free: 1.234 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.518e-05/0.5181, allocations: 3.953 kB / 0.7593 GB, free: 1.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.5182, allocations: 4 kB / 0.7593 GB, free: 1.227 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.785e-05/0.5182, allocations: 79.28 kB / 0.7594 GB, free: 1.148 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5182, allocations: 3.938 kB / 0.7594 GB, free: 1.145 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001857/0.5184, allocations: 15.98 kB / 0.7594 GB, free: 1.129 MB / 0.5261 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001465/0.5186, allocations: 111.2 kB / 0.7595 GB, free: 1.008 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000129/0.5187, allocations: 16.09 kB / 0.7595 GB, free: 0.9922 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.5187, allocations: 0 / 0.7595 GB, free: 0.9922 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.597e-05/0.5188, allocations: 15.98 kB / 0.7596 GB, free: 0.9766 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.432e-05/0.5189, allocations: 2.438 kB / 0.7596 GB, free: 0.9766 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002801/0.5192, allocations: 107.2 kB / 0.7597 GB, free: 0.8438 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002185/0.5194, allocations: 0.6809 MB / 0.7603 GB, free: 140 kB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.46e-05/0.5194, allocations: 0 / 0.7603 GB, free: 140 kB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.313e-05/0.5194, allocations: 11.44 kB / 0.7603 GB, free: 128 kB / 0.5261 GB Notification: Performance of SimCode: time 2.51e-07/0.5194, allocations: 0 / 0.7603 GB, free: 128 kB / 0.5261 GB Notification: Performance of Templates: time 0.001984/0.5214, allocations: 397.3 kB / 0.7607 GB, free: 15.73 MB / 0.5417 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)