Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.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.TestValveDiscrete,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001366/0.001366, allocations: 162.6 kB / 7.635 MB, free: 1.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.413/1.413, allocations: 170.7 MB / 178.7 MB, free: 7.031 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.001725/0.001725, allocations: 102 kB / 218 MB, free: 15.34 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.2107/0.2107, allocations: 37.98 MB / 295.1 MB, free: 2.086 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.921e-05/1.923e-05, allocations: 0 / 350 MB, free: 32.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3192, allocations: 48.69 MB / 398.7 MB, free: 6.062 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.419/6.738, allocations: 2.476 GB / 2.866 GB, free: 124.6 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002613/6.738, allocations: 79.3 kB / 2.866 GB, free: 124.6 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7986/7.537, allocations: 208.9 MB / 3.07 GB, free: 63.33 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.964e-06/7.537, allocations: 0 / 3.07 GB, free: 63.33 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.213e-05/7.537, allocations: 7.312 kB / 3.07 GB, free: 63.33 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.005562/7.543, allocations: 1.144 MB / 3.071 GB, free: 62.65 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/7.543, allocations: 7.719 kB / 3.071 GB, free: 62.65 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001851/7.545, allocations: 203.2 kB / 3.071 GB, free: 62.62 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008181/7.545, allocations: 398.6 kB / 3.071 GB, free: 62.32 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.97e-05/7.545, allocations: 10.66 kB / 3.071 GB, free: 62.32 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.098e-05/7.546, allocations: 17.25 kB / 3.071 GB, free: 62.32 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005071/7.546, allocations: 299.5 kB / 3.072 GB, free: 62.22 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005298/7.547, allocations: 383.3 kB / 3.072 GB, free: 61.99 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/7.547, allocations: 3.656 kB / 3.072 GB, free: 61.99 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.049e-05/7.547, allocations: 0 / 3.072 GB, free: 61.99 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/7.547, allocations: 11.28 kB / 3.072 GB, free: 61.99 MB / 426.7 MB 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.005499/7.552, allocations: 3.86 MB / 3.076 GB, free: 58.95 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003865/7.553, allocations: 223.8 kB / 3.076 GB, free: 58.86 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001571/7.553, allocations: 119.6 kB / 3.076 GB, free: 58.81 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1028/7.656, allocations: 50.2 MB / 3.125 GB, free: 28.38 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.073e-05/7.656, allocations: 46.5 kB / 3.125 GB, free: 28.32 MB / 426.7 MB Notification: Performance of pre-optimization done (n=24): time 3.727e-06/7.656, allocations: 0 / 3.125 GB, free: 28.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=24): time 0.001992/7.658, allocations: 0.5045 MB / 3.126 GB, free: 27.81 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/7.658, allocations: 106.8 kB / 3.126 GB, free: 27.68 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003023/7.658, allocations: 244.9 kB / 3.126 GB, free: 27.45 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.8e-05/7.658, allocations: 25.7 kB / 3.126 GB, free: 27.41 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/7.658, allocations: 219.7 kB / 3.126 GB, free: 27.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.663e-05/7.658, allocations: 78.84 kB / 3.126 GB, free: 27.12 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.563e-05/7.658, allocations: 4 kB / 3.126 GB, free: 27.11 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.268e-05/7.659, allocations: 338.8 kB / 3.127 GB, free: 26.77 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/7.659, allocations: 84.64 kB / 3.127 GB, free: 26.69 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001728/7.659, allocations: 212.2 kB / 3.127 GB, free: 26.43 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006275/7.659, allocations: 163.8 kB / 3.127 GB, free: 26.27 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/7.659, allocations: 7.984 kB / 3.127 GB, free: 26.26 MB / 426.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008969/7.66, allocations: 377 kB / 3.128 GB, free: 25.88 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/7.66, allocations: 10.97 kB / 3.128 GB, free: 25.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/7.66, allocations: 4 kB / 3.128 GB, free: 25.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/7.66, allocations: 11.95 kB / 3.128 GB, free: 25.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003393/7.661, allocations: 92.19 kB / 3.128 GB, free: 25.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/7.661, allocations: 11.94 kB / 3.128 GB, free: 25.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004198/7.661, allocations: 59.56 kB / 3.128 GB, free: 25.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.238e-05/7.661, allocations: 16 kB / 3.128 GB, free: 25.68 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 5 (SourceP1.medium.phase,SinkP1.medium.phase,Opening.y,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * 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 9.879e-05/7.661, allocations: 128.8 kB / 3.128 GB, free: 25.55 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.499e-05/7.662, allocations: 31.62 kB / 3.128 GB, free: 25.52 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001703/7.663, allocations: 1.624 MB / 3.13 GB, free: 23.88 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-05/7.663, allocations: 23.91 kB / 3.13 GB, free: 23.86 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/7.663, allocations: 7.938 kB / 3.13 GB, free: 23.85 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/7.663, allocations: 0 / 3.13 GB, free: 23.85 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007461/7.664, allocations: 0.8223 MB / 3.13 GB, free: 23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/7.664, allocations: 4 kB / 3.13 GB, free: 23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002688/7.664, allocations: 71.94 kB / 3.13 GB, free: 22.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.658e-06/7.664, allocations: 0 / 3.13 GB, free: 22.93 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/7.664, allocations: 8 kB / 3.13 GB, free: 22.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/7.664, allocations: 0 / 3.13 GB, free: 22.92 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/7.664, allocations: 4 kB / 3.13 GB, free: 22.92 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/7.665, allocations: 0.9187 MB / 3.131 GB, free: 21.98 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001767/7.666, allocations: 207.7 kB / 3.132 GB, free: 21.76 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.915e-05/7.666, allocations: 0 / 3.132 GB, free: 21.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002875/7.666, allocations: 39.97 kB / 3.132 GB, free: 21.72 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.344e-05/7.666, allocations: 31.7 kB / 3.132 GB, free: 21.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.113e-05/7.666, allocations: 11.98 kB / 3.132 GB, free: 21.68 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00023/7.666, allocations: 259 kB / 3.132 GB, free: 21.43 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.81e-07/7.666, allocations: 4 kB / 3.132 GB, free: 21.43 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00545/7.672, allocations: 0.9794 MB / 3.133 GB, free: 20.45 MB / 426.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: 17 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,SourceP1.medium.phase,SinkP1.medium.phase,Opening.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.009412/7.681, allocations: 1.423 MB / 3.134 GB, free: 19.13 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000815/7.682, allocations: 465.7 kB / 3.135 GB, free: 18.68 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/7.682, allocations: 0.9375 kB / 3.135 GB, free: 18.68 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004497/7.683, allocations: 425 kB / 3.135 GB, free: 18.26 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/7.684, allocations: 165.8 kB / 3.135 GB, free: 18.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3756/8.059, allocations: 54.33 MB / 3.188 GB, free: 71.77 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000566/8.06, allocations: 0.9595 MB / 3.189 GB, free: 71.07 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006962/8.061, allocations: 255.5 kB / 3.189 GB, free: 71.06 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/8.061, allocations: 39.81 kB / 3.189 GB, free: 71.06 MB / 442.7 MB Notification: Performance of SimCode: time 1.042e-06/8.061, allocations: 0 / 3.189 GB, free: 71.06 MB / 442.7 MB Notification: Performance of Templates: time 0.0452/8.106, allocations: 27.37 MB / 3.216 GB, free: 70.25 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.pipe 2>&1)