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/Complex 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) 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-master/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_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/Complex 4.0.0+maint.om/package.mo): time 0.002282/0.002282, allocations: 172.5 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8341/0.8341, allocations: 133.6 MB / 141.6 MB, free: 2.902 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 221.5 MB / 395.5 MB, free: 10.79 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.000929/0.000929, allocations: 98.08 kB / 478.2 MB, free: 1.32 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.812e-05/1.808e-05, allocations: 4 kB / 0.5535 GB, free: 9.059 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5443/0.5443, allocations: 82.3 MB / 0.6338 GB, free: 40.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1495/0.6939, allocations: 111 MB / 0.7423 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/0.6942, allocations: 75.95 kB / 0.7423 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.006584/0.7008, allocations: 2.296 MB / 0.7446 GB, free: 9.363 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.292e-06/0.7008, allocations: 0 / 0.7446 GB, free: 9.363 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.486e-06/0.7008, allocations: 4 kB / 0.7446 GB, free: 9.359 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.0002852/0.7011, allocations: 326.5 kB / 0.7449 GB, free: 8.996 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.7012, allocations: 12.03 kB / 0.7449 GB, free: 8.984 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.833e-05/0.7012, allocations: 4 kB / 0.7449 GB, free: 8.98 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.7014, allocations: 167 kB / 0.7451 GB, free: 8.777 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.7014, allocations: 0 / 0.7451 GB, free: 8.777 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.438e-06/0.7014, allocations: 4 kB / 0.7451 GB, free: 8.773 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.027e-05/0.7015, allocations: 4 kB / 0.7451 GB, free: 8.77 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.823e-05/0.7015, allocations: 29.7 kB / 0.7451 GB, free: 8.734 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.7015, allocations: 0 / 0.7451 GB, free: 8.734 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.699e-06/0.7016, allocations: 3.984 kB / 0.7451 GB, free: 8.73 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.7016, allocations: 0 / 0.7451 GB, free: 8.73 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001576/0.7017, allocations: 146 kB / 0.7453 GB, free: 8.551 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 4.604e-05/0.7018, allocations: 22.55 kB / 0.7453 GB, free: 8.52 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.236e-05/0.7018, allocations: 8.922 kB / 0.7453 GB, free: 8.508 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.7018, allocations: 3.938 kB / 0.7453 GB, free: 8.504 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.7019, allocations: 34.56 kB / 0.7453 GB, free: 8.461 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.7019, allocations: 0 / 0.7453 GB, free: 8.461 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001274/0.702, allocations: 41.69 kB / 0.7454 GB, free: 8.414 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.702, allocations: 51.41 kB / 0.7454 GB, free: 8.352 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.457e-05/0.7021, allocations: 92.94 kB / 0.7455 GB, free: 8.254 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.7021, allocations: 25.7 kB / 0.7455 GB, free: 8.223 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.059e-05/0.7022, allocations: 80.14 kB / 0.7456 GB, free: 8.141 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.382e-05/0.7022, allocations: 7.906 kB / 0.7456 GB, free: 8.133 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-06/0.7022, allocations: 0 / 0.7456 GB, free: 8.133 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.7023, allocations: 310.8 kB / 0.7459 GB, free: 7.82 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.123e-05/0.7023, allocations: 8.156 kB / 0.7459 GB, free: 7.812 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.945e-06/0.7024, allocations: 3.984 kB / 0.7459 GB, free: 7.809 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.484e-05/0.7024, allocations: 4 kB / 0.7459 GB, free: 7.805 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.7024, allocations: 0 / 0.7459 GB, free: 7.805 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.786e-05/0.7024, allocations: 45.59 kB / 0.746 GB, free: 7.754 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.7025, allocations: 4 kB / 0.746 GB, free: 7.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.7025, allocations: 0 / 0.746 GB, free: 7.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.7025, allocations: 0 / 0.746 GB, free: 7.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.7026, allocations: 15.97 kB / 0.746 GB, free: 7.734 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003348/0.703, allocations: 0.5861 MB / 0.7466 GB, free: 7.125 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.745e-05/0.703, allocations: 0 / 0.7466 GB, free: 7.125 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.703, allocations: 0 / 0.7466 GB, free: 7.125 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 () * 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.464e-05/0.7031, allocations: 104.9 kB / 0.7467 GB, free: 7.016 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.766e-06/0.7031, allocations: 4.031 kB / 0.7467 GB, free: 7.012 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.981e-05/0.7032, allocations: 49.47 kB / 0.7467 GB, free: 6.961 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.7032, allocations: 4 kB / 0.7467 GB, free: 6.957 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.7033, allocations: 0 / 0.7467 GB, free: 6.957 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.7033, allocations: 0 / 0.7467 GB, free: 6.957 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.194e-05/0.7034, allocations: 130.2 kB / 0.7468 GB, free: 6.793 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.7034, allocations: 0 / 0.7468 GB, free: 6.793 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.832e-05/0.7034, allocations: 8 kB / 0.7468 GB, free: 6.785 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.7034, allocations: 7.984 kB / 0.7468 GB, free: 6.777 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.7035, allocations: 0 / 0.7468 GB, free: 6.777 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002732/0.7037, allocations: 0.5898 MB / 0.7474 GB, free: 6.164 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.7038, allocations: 3.938 kB / 0.7474 GB, free: 6.16 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.35e-05/0.7038, allocations: 61.12 kB / 0.7475 GB, free: 6.082 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.995e-05/0.7039, allocations: 85.09 kB / 0.7476 GB, free: 5.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.7039, allocations: 0 / 0.7476 GB, free: 5.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.266e-05/0.7039, allocations: 0 / 0.7476 GB, free: 5.98 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.769e-05/0.7039, allocations: 4.125 kB / 0.7476 GB, free: 5.977 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.7039, allocations: 0 / 0.7476 GB, free: 5.977 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.521e-05/0.704, allocations: 79.28 kB / 0.7476 GB, free: 5.898 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.41e-07/0.704, allocations: 0 / 0.7476 GB, free: 5.898 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001829/0.7042, allocations: 12 kB / 0.7477 GB, free: 5.887 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 () * 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.0001754/0.7043, allocations: 124.7 kB / 0.7478 GB, free: 5.754 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001385/0.7045, allocations: 19.92 kB / 0.7478 GB, free: 5.734 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.7045, allocations: 8.094 kB / 0.7478 GB, free: 5.727 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 9.185e-05/0.7046, allocations: 8 kB / 0.7478 GB, free: 5.719 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001021/0.7047, allocations: 6.25 kB / 0.7478 GB, free: 5.715 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001726/0.7049, allocations: 48.05 kB / 0.7479 GB, free: 5.645 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002276/0.7051, allocations: 0.6768 MB / 0.7485 GB, free: 4.941 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.952e-05/0.7052, allocations: 0 / 0.7485 GB, free: 4.941 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.711e-05/0.7052, allocations: 11.44 kB / 0.7485 GB, free: 4.93 MB / 0.5261 GB Notification: Performance of SimCode: time 2.41e-07/0.7052, allocations: 4.062 kB / 0.7485 GB, free: 4.926 MB / 0.5261 GB Notification: Performance of Templates: time 0.002257/0.7075, allocations: 405.6 kB / 0.7489 GB, free: 4.535 MB / 0.5261 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)