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.00121/0.00121, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8859/0.8859, allocations: 133.4 MB / 146.7 MB, free: 10.77 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.578/1.578, allocations: 221.3 MB / 400.4 MB, free: 5.777 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 105.1 kB / 483.3 MB, free: 5.797 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.259e-05/4.262e-05, allocations: 2.562 kB / 0.56 GB, free: 87.89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2046/0.2047, allocations: 82.3 MB / 0.6404 GB, free: 7.816 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6826/0.8874, allocations: 111.7 MB / 0.7495 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002127/0.8876, allocations: 79.14 kB / 0.7496 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.006393/0.894, allocations: 2.304 MB / 0.7518 GB, free: 27.67 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8941, allocations: 0 / 0.7518 GB, free: 27.67 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.8941, allocations: 0 / 0.7518 GB, free: 27.67 MB / 0.5105 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.0002959/0.8944, allocations: 330.3 kB / 0.7521 GB, free: 27.32 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.8945, allocations: 10.69 kB / 0.7522 GB, free: 27.32 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.089e-05/0.8945, allocations: 4.625 kB / 0.7522 GB, free: 27.31 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.8946, allocations: 167 kB / 0.7523 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.8946, allocations: 0 / 0.7523 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.8946, allocations: 7.781 kB / 0.7523 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.442e-05/0.8947, allocations: 31.88 kB / 0.7524 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/0.8948, allocations: 3.906 kB / 0.7524 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.8948, allocations: 0 / 0.7524 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.8948, allocations: 0 / 0.7524 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.724e-05/0.8948, allocations: 7.781 kB / 0.7524 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001733/0.895, allocations: 159.3 kB / 0.7525 GB, free: 26.87 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.726e-05/0.8951, allocations: 30.2 kB / 0.7526 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.217e-05/0.8951, allocations: 8.234 kB / 0.7526 GB, free: 26.83 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.8951, allocations: 3.844 kB / 0.7526 GB, free: 26.83 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.846e-05/0.8951, allocations: 32.81 kB / 0.7526 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.8951, allocations: 0 / 0.7526 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001159/0.8953, allocations: 33.39 kB / 0.7526 GB, free: 26.76 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/0.8953, allocations: 51.41 kB / 0.7527 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.828e-05/0.8954, allocations: 99.39 kB / 0.7528 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.8954, allocations: 29.64 kB / 0.7528 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.996e-05/0.8954, allocations: 84.08 kB / 0.7529 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/0.8955, allocations: 3.906 kB / 0.7529 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-06/0.8955, allocations: 0 / 0.7529 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.8956, allocations: 318.1 kB / 0.7532 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.948e-06/0.8956, allocations: 0 / 0.7532 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.484e-06/0.8956, allocations: 3.875 kB / 0.7532 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.77e-05/0.8957, allocations: 10.3 kB / 0.7532 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.8957, allocations: 0 / 0.7532 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.632e-05/0.8957, allocations: 43.03 kB / 0.7532 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.8957, allocations: 3.844 kB / 0.7532 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.8958, allocations: 0 / 0.7532 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.8958, allocations: 0 / 0.7532 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001528/0.8959, allocations: 10.55 kB / 0.7533 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003328/0.8963, allocations: 0.5902 MB / 0.7538 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.694e-05/0.8963, allocations: 3.953 kB / 0.7538 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.8963, allocations: 0 / 0.7538 GB, free: 25.54 MB / 0.5105 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 6.711e-05/0.8964, allocations: 103.2 kB / 0.7539 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.284e-06/0.8964, allocations: 3.812 kB / 0.7539 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001025/0.8965, allocations: 42.09 kB / 0.754 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.8965, allocations: 0 / 0.754 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.8965, allocations: 2.844 kB / 0.754 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.8965, allocations: 11.92 kB / 0.754 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.812e-05/0.8966, allocations: 155.7 kB / 0.7541 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.8966, allocations: 0 / 0.7541 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.191e-05/0.8967, allocations: 10.39 kB / 0.7541 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.8967, allocations: 3.938 kB / 0.7542 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.8967, allocations: 0 / 0.7542 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002792/0.897, allocations: 0.5877 MB / 0.7547 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.897, allocations: 4.094 kB / 0.7547 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.905e-05/0.8971, allocations: 63.14 kB / 0.7548 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.292e-05/0.8971, allocations: 83.84 kB / 0.7549 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.8972, allocations: 0 / 0.7549 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.352e-05/0.8972, allocations: 3.688 kB / 0.7549 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.645e-05/0.8972, allocations: 3.953 kB / 0.7549 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/0.8972, allocations: 4 kB / 0.7549 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.545e-05/0.8972, allocations: 83.19 kB / 0.755 GB, free: 24.35 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8973, allocations: 0 / 0.755 GB, free: 24.35 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001703/0.8974, allocations: 11.69 kB / 0.755 GB, free: 24.34 MB / 0.5105 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.0001769/0.8976, allocations: 119.8 kB / 0.7551 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000132/0.8977, allocations: 17.97 kB / 0.7551 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.8978, allocations: 0 / 0.7551 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 7.24e-05/0.8978, allocations: 23.88 kB / 0.7551 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.699e-05/0.8979, allocations: 6.703 kB / 0.7551 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000171/0.8981, allocations: 45.16 kB / 0.7552 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002247/0.8984, allocations: 0.6821 MB / 0.7558 GB, free: 23.48 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.957e-05/0.8984, allocations: 0 / 0.7558 GB, free: 23.48 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.09e-05/0.8984, allocations: 7.438 kB / 0.7558 GB, free: 23.47 MB / 0.5105 GB Notification: Performance of SimCode: time 1.252e-06/0.8984, allocations: 0 / 0.7558 GB, free: 23.47 MB / 0.5105 GB Notification: Performance of Templates: time 0.002248/0.9007, allocations: 423.3 kB / 0.7563 GB, free: 23.41 MB / 0.5105 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)