Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.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.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve") translateModel(IDEAS.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001752/0.001752, allocations: 173.9 kB / 7.648 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.7925/0.7925, allocations: 133.6 MB / 141.6 MB, free: 2.91 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.521/1.521, allocations: 221.5 MB / 395.5 MB, free: 10.76 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.001023/0.001023, allocations: 103.5 kB / 478.2 MB, free: 1.266 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.591e-05/2.594e-05, allocations: 4 kB / 0.5535 GB, free: 9.016 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5342/0.5342, allocations: 82.3 MB / 0.6338 GB, free: 40.85 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8388/1.373, allocations: 352 MB / 0.9775 GB, free: 420 kB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002726/1.373, allocations: 85.08 kB / 0.9776 GB, free: 376 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.9309/2.304, allocations: 254.8 MB / 1.226 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.916e-06/2.304, allocations: 4 kB / 1.226 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.163e-05/2.304, allocations: 19.92 kB / 1.226 GB, free: 113.4 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.002051/2.306, allocations: 0.8272 MB / 1.227 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/2.307, allocations: 8.031 kB / 1.227 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002621/2.307, allocations: 71.17 kB / 1.227 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009586/2.308, allocations: 471.5 kB / 1.228 GB, free: 112 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/2.308, allocations: 8 kB / 1.228 GB, free: 112 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.552e-05/2.308, allocations: 24 kB / 1.228 GB, free: 112 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003934/2.308, allocations: 189.5 kB / 1.228 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003946/2.309, allocations: 230.1 kB / 1.228 GB, free: 111.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/2.309, allocations: 0 / 1.228 GB, free: 111.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.88e-05/2.309, allocations: 0 / 1.228 GB, free: 111.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/2.309, allocations: 8 kB / 1.228 GB, free: 111.5 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00208/2.311, allocations: 1.255 MB / 1.229 GB, free: 110.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004479/2.311, allocations: 234.5 kB / 1.23 GB, free: 109.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/2.311, allocations: 96.84 kB / 1.23 GB, free: 109.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004048/2.312, allocations: 0.4947 MB / 1.23 GB, free: 109.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/2.312, allocations: 38.64 kB / 1.23 GB, free: 109.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=25): time 1.693e-06/2.312, allocations: 3.938 kB / 1.23 GB, free: 109.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=25): time 0.0007698/2.313, allocations: 264.3 kB / 1.231 GB, free: 108.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.633e-05/2.313, allocations: 55.41 kB / 1.231 GB, free: 108.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003973/2.313, allocations: 361.1 kB / 1.231 GB, free: 108.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.704e-05/2.313, allocations: 25.7 kB / 1.231 GB, free: 108.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001743/2.313, allocations: 248.6 kB / 1.231 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.976e-05/2.313, allocations: 78.75 kB / 1.231 GB, free: 108.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.826e-05/2.313, allocations: 0 / 1.231 GB, free: 108.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.865e-05/2.314, allocations: 358.8 kB / 1.232 GB, free: 107.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/2.314, allocations: 83.73 kB / 1.232 GB, free: 107.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001832/2.314, allocations: 178.5 kB / 1.232 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000316/2.314, allocations: 117.9 kB / 1.232 GB, free: 107.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/2.314, allocations: 0 / 1.232 GB, free: 107.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007388/2.315, allocations: 338.8 kB / 1.232 GB, free: 107 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.972e-05/2.315, allocations: 274.9 kB / 1.233 GB, free: 106.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/2.315, allocations: 4 kB / 1.233 GB, free: 106.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000246/2.315, allocations: 36.84 kB / 1.233 GB, free: 106.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003263/2.316, allocations: 75.88 kB / 1.233 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003539/2.316, allocations: 0.5718 MB / 1.233 GB, free: 106 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005457/2.317, allocations: 67.66 kB / 1.233 GB, free: 105.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-05/2.317, allocations: 24.05 kB / 1.233 GB, free: 105.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/2.317, allocations: 9.188 kB / 1.233 GB, free: 105.9 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004862/2.317, allocations: 219.7 kB / 1.234 GB, free: 105.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.786e-06/2.317, allocations: 0 / 1.234 GB, free: 105.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.09e-06/2.317, allocations: 4 kB / 1.234 GB, free: 105.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003595/2.318, allocations: 79.89 kB / 1.234 GB, free: 105.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.808e-06/2.318, allocations: 0 / 1.234 GB, free: 105.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004872/2.318, allocations: 59.78 kB / 1.234 GB, free: 105.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.582e-05/2.318, allocations: 15.98 kB / 1.234 GB, free: 105.5 MB / 0.6823 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: checkValve_m_flow.a:VARIABLE(protected = true ) "Scaled pressure variable" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001781/2.318, allocations: 120.8 kB / 1.234 GB, free: 105.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.302e-05/2.318, allocations: 43.44 kB / 1.234 GB, free: 105.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006804/2.319, allocations: 343.5 kB / 1.234 GB, free: 105 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/2.319, allocations: 4 kB / 1.234 GB, free: 105 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/2.319, allocations: 0 / 1.234 GB, free: 105 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/2.319, allocations: 144 / 1.234 GB, free: 105 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/2.32, allocations: 0.8074 MB / 1.235 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/2.32, allocations: 8.125 kB / 1.235 GB, free: 104.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002183/2.321, allocations: 59.83 kB / 1.235 GB, free: 104.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001295/2.321, allocations: 40.83 kB / 1.235 GB, free: 104 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.322e-05/2.321, allocations: 0 / 1.235 GB, free: 104 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002618/2.321, allocations: 0.5641 MB / 1.236 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.299e-06/2.321, allocations: 0 / 1.236 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005262/2.322, allocations: 462 kB / 1.236 GB, free: 102.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001861/2.322, allocations: 160.3 kB / 1.236 GB, free: 102.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.716e-05/2.322, allocations: 0 / 1.236 GB, free: 102.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003907/2.322, allocations: 39.95 kB / 1.236 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.474e-05/2.322, allocations: 23.97 kB / 1.236 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.382e-05/2.322, allocations: 12 kB / 1.236 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002533/2.323, allocations: 267 kB / 1.237 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/2.323, allocations: 0 / 1.237 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009071/2.324, allocations: 271.4 kB / 1.237 GB, free: 102.2 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008087/2.324, allocations: 366.2 kB / 1.237 GB, free: 101.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007907/2.325, allocations: 388.8 kB / 1.238 GB, free: 101.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/2.325, allocations: 0 / 1.238 GB, free: 101.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002499/2.325, allocations: 129.5 kB / 1.238 GB, free: 101.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/2.327, allocations: 224.8 kB / 1.238 GB, free: 101.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/2.328, allocations: 0.5674 MB / 1.238 GB, free: 100.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/2.328, allocations: 0.8674 MB / 1.239 GB, free: 99.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0006025/2.329, allocations: 128 kB / 1.239 GB, free: 99.47 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.251e-05/2.329, allocations: 31.44 kB / 1.239 GB, free: 99.44 MB / 0.6823 GB Notification: Performance of SimCode: time 1.092e-06/2.329, allocations: 0 / 1.239 GB, free: 99.44 MB / 0.6823 GB Notification: Performance of Templates: time 0.01705/2.346, allocations: 10.11 MB / 1.249 GB, free: 89.47 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.makefile (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.sim & ./IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)