Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.008679/0.00868, allocations: 165.1 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.315/1.315, allocations: 170.8 MB / 186.6 MB, free: 1.137 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001633/0.001633, allocations: 107.3 kB / 226.2 MB, free: 10.12 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3619/0.3619, allocations: 38.05 MB / 303.7 MB, free: 42.37 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004088/0.0004089, allocations: 12 kB / 362.9 MB, free: 5.602 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1279, allocations: 48.71 MB / 411.6 MB, free: 4.816 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.407/6.535, allocations: 2.496 GB / 2.898 GB, free: 110.2 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/6.535, allocations: 86.17 kB / 2.898 GB, free: 110.2 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7261/7.262, allocations: 229 MB / 3.121 GB, free: 40.66 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.234e-06/7.262, allocations: 0 / 3.121 GB, free: 40.66 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.996e-05/7.262, allocations: 14.41 kB / 3.121 GB, free: 40.66 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.004922/7.267, allocations: 1.3 MB / 3.123 GB, free: 39.81 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/7.267, allocations: 7.531 kB / 3.123 GB, free: 39.81 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00199/7.269, allocations: 237.4 kB / 3.123 GB, free: 39.77 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008057/7.269, allocations: 424.6 kB / 3.123 GB, free: 39.46 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.646e-05/7.269, allocations: 27.88 kB / 3.123 GB, free: 39.45 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.837e-05/7.27, allocations: 31.41 kB / 3.123 GB, free: 39.44 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/7.271, allocations: 0.6168 MB / 3.124 GB, free: 39.19 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/7.271, allocations: 0 / 3.124 GB, free: 39.19 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.285e-05/7.271, allocations: 19.34 kB / 3.124 GB, free: 39.18 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/7.271, allocations: 15.2 kB / 3.124 GB, free: 39.17 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001426/7.272, allocations: 0.5923 MB / 3.125 GB, free: 38.91 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.002457/7.275, allocations: 2.554 MB / 3.127 GB, free: 36.32 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/7.276, allocations: 453.1 kB / 3.128 GB, free: 35.88 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3217/7.598, allocations: 51.29 MB / 3.178 GB, free: 66.73 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/7.598, allocations: 42.16 kB / 3.178 GB, free: 66.69 MB / 442.7 MB Notification: Performance of pre-optimization done (n=25): time 1.934e-06/7.598, allocations: 0 / 3.178 GB, free: 66.69 MB / 442.7 MB Notification: Performance of matching and sorting (n=25): time 0.002719/7.601, allocations: 0.8018 MB / 3.178 GB, free: 66.66 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/7.601, allocations: 106.7 kB / 3.179 GB, free: 66.54 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004406/7.601, allocations: 314.5 kB / 3.179 GB, free: 66.43 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.246e-05/7.601, allocations: 28.88 kB / 3.179 GB, free: 66.4 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/7.601, allocations: 236.4 kB / 3.179 GB, free: 66.29 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.22e-05/7.601, allocations: 91.33 kB / 3.179 GB, free: 66.25 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.955e-05/7.601, allocations: 7.594 kB / 3.179 GB, free: 66.25 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.618e-05/7.602, allocations: 347.7 kB / 3.18 GB, free: 65.94 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003794/7.602, allocations: 161.4 kB / 3.18 GB, free: 65.94 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004343/7.602, allocations: 296.6 kB / 3.18 GB, free: 65.79 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004117/7.603, allocations: 182.8 kB / 3.18 GB, free: 65.79 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/7.603, allocations: 1.281 kB / 3.18 GB, free: 65.79 MB / 442.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001025/7.604, allocations: 0.5004 MB / 3.181 GB, free: 65.73 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002585/7.604, allocations: 1.487 MB / 3.182 GB, free: 64.19 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/7.604, allocations: 6.562 kB / 3.182 GB, free: 64.19 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/7.604, allocations: 6.188 kB / 3.182 GB, free: 64.19 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004649/7.605, allocations: 115 kB / 3.182 GB, free: 64.19 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/7.605, allocations: 9.938 kB / 3.182 GB, free: 64.19 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004878/7.605, allocations: 73.44 kB / 3.182 GB, free: 64.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.42e-05/7.605, allocations: 24.73 kB / 3.182 GB, free: 64.18 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.776e-06/7.605, allocations: 4.875 kB / 3.182 GB, free: 64.18 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009185/7.606, allocations: 446.4 kB / 3.183 GB, free: 64.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/7.606, allocations: 2.906 kB / 3.183 GB, free: 64.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.351e-06/7.606, allocations: 9.625 kB / 3.183 GB, free: 64.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003989/7.607, allocations: 112.1 kB / 3.183 GB, free: 64.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/7.607, allocations: 14.36 kB / 3.183 GB, free: 64.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003431/7.607, allocations: 65.33 kB / 3.183 GB, free: 64.17 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.748e-05/7.607, allocations: 23.8 kB / 3.183 GB, free: 64.17 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 4 (V1.state_b.phase,V1.state_a.phase,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002115/7.607, allocations: 250.7 kB / 3.183 GB, free: 63.98 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.9e-05/7.607, allocations: 38.47 kB / 3.183 GB, free: 63.96 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002241/7.61, allocations: 1.961 MB / 3.185 GB, free: 63.75 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.784e-05/7.61, allocations: 33.39 kB / 3.185 GB, free: 63.75 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/7.61, allocations: 0 / 3.185 GB, free: 63.75 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/7.61, allocations: 5.672 kB / 3.185 GB, free: 63.75 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008925/7.611, allocations: 1.014 MB / 3.186 GB, free: 63.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/7.611, allocations: 0 / 3.186 GB, free: 63.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003112/7.611, allocations: 89.78 kB / 3.186 GB, free: 63.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/7.611, allocations: 2.969 kB / 3.186 GB, free: 63.52 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.146e-05/7.611, allocations: 6.875 kB / 3.186 GB, free: 63.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/7.611, allocations: 0 / 3.186 GB, free: 63.52 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/7.611, allocations: 3.25 kB / 3.186 GB, free: 63.52 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/7.612, allocations: 1.124 MB / 3.187 GB, free: 63.27 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002154/7.612, allocations: 250.1 kB / 3.188 GB, free: 63.13 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.873e-05/7.612, allocations: 8.469 kB / 3.188 GB, free: 63.13 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003155/7.613, allocations: 49.95 kB / 3.188 GB, free: 63.13 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.266e-05/7.613, allocations: 32.77 kB / 3.188 GB, free: 63.13 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.153e-05/7.613, allocations: 13.25 kB / 3.188 GB, free: 63.13 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003008/7.613, allocations: 310.4 kB / 3.188 GB, free: 63.04 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.41e-07/7.613, allocations: 0 / 3.188 GB, free: 63.04 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004543/7.618, allocations: 1.173 MB / 3.189 GB, free: 63.04 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse15.phase,$cse15.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005807/7.623, allocations: 1.476 MB / 3.191 GB, free: 62.9 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001758/7.625, allocations: 0.8662 MB / 3.191 GB, free: 62.89 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/7.625, allocations: 3.562 kB / 3.191 GB, free: 62.89 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005883/7.626, allocations: 0.5325 MB / 3.192 GB, free: 62.88 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/7.627, allocations: 187.5 kB / 3.192 GB, free: 62.88 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1293/7.756, allocations: 75.92 MB / 3.266 GB, free: 59.76 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003892/7.757, allocations: 0.9998 MB / 3.267 GB, free: 59.04 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0009754/7.758, allocations: 0.5249 MB / 3.268 GB, free: 59.02 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/7.758, allocations: 48.22 kB / 3.268 GB, free: 59.02 MB / 442.7 MB Notification: Performance of SimCode: time 1.422e-06/7.758, allocations: 0 / 3.268 GB, free: 59.02 MB / 442.7 MB Notification: Performance of Templates: time 0.04047/7.798, allocations: 32.31 MB / 3.299 GB, free: 40.93 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe 2>&1)