Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008766/0.0008771, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.223/1.223, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8545/0.8545, allocations: 135.2 MB / 426.2 MB, free: 14.37 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002935/0.0002936, allocations: 15.98 kB / 0.5068 GB, free: 5.293 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1471, allocations: 82.31 MB / 0.5872 GB, free: 3.164 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01243/0.1596, allocations: 13.11 MB / 0.6 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004881/0.1645, allocations: 3.73 MB / 0.6036 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003383/0.1649, allocations: 11.88 kB / 0.6037 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007663/0.1656, allocations: 258.8 kB / 0.6039 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001304/0.167, allocations: 0.6214 MB / 0.6045 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001848/0.1688, allocations: 0.7755 MB / 0.6053 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.2804/0.4492, allocations: 0.628 MB / 0.6059 GB, free: 34.75 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006096/0.4499, allocations: 266.7 kB / 0.6061 GB, free: 34.74 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006338/0.4505, allocations: 344.4 kB / 0.6065 GB, free: 34.74 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002589/0.4508, allocations: 226.7 kB / 0.6067 GB, free: 34.74 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.758e-05/0.4508, allocations: 14 kB / 0.6067 GB, free: 34.74 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007293/0.4516, allocations: 404.4 kB / 0.6071 GB, free: 34.74 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.982e-05/0.4517, allocations: 78.45 kB / 0.6072 GB, free: 34.74 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.383e-05/0.4517, allocations: 109.4 kB / 0.6073 GB, free: 34.71 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000423/0.4522, allocations: 494.3 kB / 0.6077 GB, free: 34.66 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.4522, allocations: 0 / 0.6077 GB, free: 34.66 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4522, allocations: 2.781 kB / 0.6077 GB, free: 34.66 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.4522, allocations: 0 / 0.6077 GB, free: 34.66 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0008592/0.4531, allocations: 0.7294 MB / 0.6084 GB, free: 34.13 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.793e-05/0.4531, allocations: 11.12 kB / 0.6085 GB, free: 34.13 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.097e-05/0.4532, allocations: 56.84 kB / 0.6085 GB, free: 34.1 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004363/0.4536, allocations: 397.8 kB / 0.6089 GB, free: 33.86 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/0.4536, allocations: 24.44 kB / 0.6089 GB, free: 33.86 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.517e-05/0.4537, allocations: 24.81 kB / 0.6089 GB, free: 33.86 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000338/0.454, allocations: 214.3 kB / 0.6091 GB, free: 33.83 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.454, allocations: 0 / 0.6091 GB, free: 33.83 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/0.4541, allocations: 9.75 kB / 0.6091 GB, free: 33.83 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.4541, allocations: 11.78 kB / 0.6092 GB, free: 33.83 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003111/0.4544, allocations: 175 kB / 0.6093 GB, free: 33.83 MB / 0.4981 GB 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.001235/0.4556, allocations: 0.944 MB / 0.6102 GB, free: 33.39 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002309/0.4559, allocations: 144.1 kB / 0.6104 GB, free: 33.36 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001778/0.4561, allocations: 335 kB / 0.6107 GB, free: 32.98 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.731e-05/0.4561, allocations: 37.06 kB / 0.6107 GB, free: 32.95 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.312e-06/0.4561, allocations: 0 / 0.6107 GB, free: 32.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0005049/0.4566, allocations: 255.9 kB / 0.611 GB, free: 32.88 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.906e-05/0.4566, allocations: 53.94 kB / 0.611 GB, free: 32.82 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003633/0.457, allocations: 472.8 kB / 0.6115 GB, free: 32.7 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.457, allocations: 32.08 kB / 0.6115 GB, free: 32.67 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.4572, allocations: 239 kB / 0.6117 GB, free: 32.55 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.4572, allocations: 44.17 kB / 0.6118 GB, free: 32.52 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.043e-05/0.4572, allocations: 6.125 kB / 0.6118 GB, free: 32.52 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.376e-05/0.4573, allocations: 351.4 kB / 0.6121 GB, free: 32.21 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.4574, allocations: 67.84 kB / 0.6122 GB, free: 32.21 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001891/0.4576, allocations: 155 kB / 0.6123 GB, free: 32.14 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001773/0.4578, allocations: 79.58 kB / 0.6124 GB, free: 32.14 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.4578, allocations: 6.906 kB / 0.6124 GB, free: 32.13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004245/0.4582, allocations: 262.5 kB / 0.6127 GB, free: 32.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.567e-05/0.4583, allocations: 270.8 kB / 0.6129 GB, free: 31.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.4583, allocations: 6 kB / 0.6129 GB, free: 31.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.4583, allocations: 0 / 0.6129 GB, free: 31.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002047/0.4585, allocations: 52.33 kB / 0.613 GB, free: 31.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.4586, allocations: 3.844 kB / 0.613 GB, free: 31.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002952/0.4589, allocations: 50.41 kB / 0.613 GB, free: 31.78 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.68e-05/0.4589, allocations: 10.5 kB / 0.613 GB, free: 31.78 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.713e-06/0.4589, allocations: 5.719 kB / 0.6131 GB, free: 31.78 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003596/0.4593, allocations: 192.4 kB / 0.6132 GB, free: 31.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.534e-06/0.4593, allocations: 0 / 0.6132 GB, free: 31.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.236e-06/0.4593, allocations: 5.484 kB / 0.6132 GB, free: 31.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001801/0.4595, allocations: 53.12 kB / 0.6133 GB, free: 31.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.184e-06/0.4595, allocations: 0 / 0.6133 GB, free: 31.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002704/0.4598, allocations: 47.11 kB / 0.6133 GB, free: 31.76 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.4598, allocations: 10.95 kB / 0.6133 GB, free: 31.76 MB / 0.4981 GB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * 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.0001351/0.4599, allocations: 236.7 kB / 0.6136 GB, free: 31.57 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.944e-05/0.46, allocations: 47.95 kB / 0.6136 GB, free: 31.54 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004637/0.4604, allocations: 260.6 kB / 0.6139 GB, free: 31.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.4605, allocations: 3.188 kB / 0.6139 GB, free: 31.5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.4605, allocations: 0 / 0.6139 GB, free: 31.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.4605, allocations: 0 / 0.6139 GB, free: 31.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000723/0.4612, allocations: 0.716 MB / 0.6146 GB, free: 31.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.4612, allocations: 0 / 0.6146 GB, free: 31.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.4613, allocations: 34.72 kB / 0.6146 GB, free: 31.15 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.4613, allocations: 2.812 kB / 0.6146 GB, free: 31.15 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.4614, allocations: 3.875 kB / 0.6146 GB, free: 31.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.4614, allocations: 2.906 kB / 0.6146 GB, free: 31.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.4614, allocations: 3.375 kB / 0.6146 GB, free: 31.15 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003517/0.4617, allocations: 406.2 kB / 0.615 GB, free: 30.89 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.4618, allocations: 149.1 kB / 0.6151 GB, free: 30.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.714e-05/0.4619, allocations: 6 kB / 0.6152 GB, free: 30.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002137/0.4621, allocations: 23.92 kB / 0.6152 GB, free: 30.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.195e-05/0.4622, allocations: 17.97 kB / 0.6152 GB, free: 30.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.4622, allocations: 12.75 kB / 0.6152 GB, free: 30.76 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002458/0.4624, allocations: 332.1 kB / 0.6155 GB, free: 30.68 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4624, allocations: 0 / 0.6155 GB, free: 30.68 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005323/0.463, allocations: 197.2 kB / 0.6157 GB, free: 30.65 MB / 0.4981 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0008459/0.4638, allocations: 489.8 kB / 0.6162 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005317/0.4644, allocations: 280.2 kB / 0.6164 GB, free: 30.49 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4644, allocations: 0 / 0.6164 GB, free: 30.49 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001649/0.4646, allocations: 88.95 kB / 0.6165 GB, free: 30.49 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.4656, allocations: 224 kB / 0.6167 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009026/0.4665, allocations: 0.8495 MB / 0.6176 GB, free: 30.01 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001995/0.4667, allocations: 0.8374 MB / 0.6184 GB, free: 29.3 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002485/0.467, allocations: 84.31 kB / 0.6185 GB, free: 29.28 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.565e-05/0.467, allocations: 35.8 kB / 0.6185 GB, free: 29.28 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.467, allocations: 3.062 kB / 0.6185 GB, free: 29.28 MB / 0.4981 GB Notification: Performance of Templates: time 0.01064/0.4777, allocations: 8.04 MB / 0.6264 GB, free: 28.66 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) Environment - environmentSimulation: