Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.00117/0.00117, allocations: 100.1 kB / 15.88 MB, free: 8 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001162/0.001161, allocations: 199.3 kB / 16.79 MB, free: 6.828 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 222.9 MB / 240.5 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.02/1.02, allocations: 135.1 MB / 425.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 56.66 kB / 0.5053 GB, free: 5.789 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.1821, allocations: 80.94 MB / 0.5844 GB, free: 5.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01627/0.1984, allocations: 15.48 MB / 0.5995 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007127/0.2056, allocations: 4.354 MB / 0.6037 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001065/0.2068, allocations: 19.88 kB / 0.6037 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001286/0.2081, allocations: 218.9 kB / 0.604 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002076/0.2102, allocations: 0.555 MB / 0.6045 GB, free: 324 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.3729/0.5831, allocations: 0.6243 MB / 0.6051 GB, free: 36.2 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001965/0.5851, allocations: 1.31 MB / 0.6064 GB, free: 36.2 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004537/0.5856, allocations: 291 kB / 0.6067 GB, free: 36.19 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006941/0.5863, allocations: 385.6 kB / 0.607 GB, free: 36.19 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004225/0.5867, allocations: 328.9 kB / 0.6073 GB, free: 36.15 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.185e-05/0.5868, allocations: 17.12 kB / 0.6074 GB, free: 36.15 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001235/0.588, allocations: 0.6052 MB / 0.6079 GB, free: 36.15 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.5881, allocations: 93.73 kB / 0.608 GB, free: 36.13 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002044/0.5883, allocations: 215.4 kB / 0.6082 GB, free: 36.06 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006568/0.589, allocations: 0.5444 MB / 0.6088 GB, free: 36.04 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.589, allocations: 2.938 kB / 0.6088 GB, free: 36.04 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.613e-06/0.589, allocations: 4 kB / 0.6088 GB, free: 36.03 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.589, allocations: 0 / 0.6088 GB, free: 36.03 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.00119/0.5902, allocations: 0.8255 MB / 0.6096 GB, free: 35.48 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.5903, allocations: 8.531 kB / 0.6096 GB, free: 35.48 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001155/0.5904, allocations: 58.47 kB / 0.6097 GB, free: 35.46 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004937/0.5909, allocations: 410.7 kB / 0.61 GB, free: 35.21 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/0.5909, allocations: 27.66 kB / 0.6101 GB, free: 35.2 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.796e-05/0.591, allocations: 26.22 kB / 0.6101 GB, free: 35.2 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003976/0.5914, allocations: 208.8 kB / 0.6103 GB, free: 35.17 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.5914, allocations: 2.5 kB / 0.6103 GB, free: 35.17 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.023e-05/0.5914, allocations: 9.625 kB / 0.6103 GB, free: 35.17 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.5914, allocations: 5.75 kB / 0.6103 GB, free: 35.17 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003476/0.5918, allocations: 164.3 kB / 0.6105 GB, free: 35.16 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.001404/0.5932, allocations: 0.9493 MB / 0.6114 GB, free: 34.71 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002895/0.5935, allocations: 133 kB / 0.6115 GB, free: 34.69 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/0.5937, allocations: 71.86 kB / 0.6116 GB, free: 34.68 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002417/0.5939, allocations: 338.4 kB / 0.6119 GB, free: 34.3 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.594, allocations: 36.28 kB / 0.6119 GB, free: 34.26 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.813e-06/0.594, allocations: 0 / 0.6119 GB, free: 34.26 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0006234/0.5946, allocations: 239.3 kB / 0.6122 GB, free: 34.2 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.5946, allocations: 54.19 kB / 0.6122 GB, free: 34.14 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004639/0.5951, allocations: 478.3 kB / 0.6127 GB, free: 34.02 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.5951, allocations: 32.39 kB / 0.6127 GB, free: 33.98 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001612/0.5953, allocations: 229 kB / 0.6129 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.272e-05/0.5953, allocations: 46.47 kB / 0.613 GB, free: 33.85 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.415e-05/0.5954, allocations: 61.98 kB / 0.613 GB, free: 33.83 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.5956, allocations: 358.2 kB / 0.6134 GB, free: 33.51 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001709/0.5957, allocations: 71.28 kB / 0.6134 GB, free: 33.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002452/0.596, allocations: 154.6 kB / 0.6136 GB, free: 33.43 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003154/0.5963, allocations: 162.2 kB / 0.6137 GB, free: 33.4 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.5963, allocations: 0 / 0.6137 GB, free: 33.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004697/0.5968, allocations: 249.2 kB / 0.614 GB, free: 33.35 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.5968, allocations: 9.344 kB / 0.614 GB, free: 33.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.5968, allocations: 0 / 0.614 GB, free: 33.35 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.5969, allocations: 3.594 kB / 0.614 GB, free: 33.35 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002331/0.5971, allocations: 53.22 kB / 0.614 GB, free: 33.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.5971, allocations: 3.25 kB / 0.6141 GB, free: 33.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003536/0.5975, allocations: 45.38 kB / 0.6141 GB, free: 33.33 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.591e-05/0.5975, allocations: 15.39 kB / 0.6141 GB, free: 33.33 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002625/0.5978, allocations: 186.8 kB / 0.6143 GB, free: 33.25 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002104/0.598, allocations: 164.2 kB / 0.6144 GB, free: 33.16 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000307/0.5983, allocations: 171.5 kB / 0.6146 GB, free: 33.11 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.753e-06/0.5983, allocations: 0 / 0.6146 GB, free: 33.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004534/0.5988, allocations: 253.5 kB / 0.6148 GB, free: 33.05 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.143e-06/0.5988, allocations: 5.594 kB / 0.6149 GB, free: 33.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.545e-06/0.5988, allocations: 3.031 kB / 0.6149 GB, free: 33.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.837e-06/0.5988, allocations: 0 / 0.6149 GB, free: 33.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000184/0.599, allocations: 55.52 kB / 0.6149 GB, free: 33.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.535e-06/0.599, allocations: 2.938 kB / 0.6149 GB, free: 33.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003379/0.5994, allocations: 40.45 kB / 0.615 GB, free: 33.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.5994, allocations: 5.594 kB / 0.615 GB, free: 33.04 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.476e-05/0.5995, allocations: 204.1 kB / 0.6152 GB, free: 32.85 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.871e-05/0.5996, allocations: 45.47 kB / 0.6152 GB, free: 32.83 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005209/0.6001, allocations: 250.8 kB / 0.6154 GB, free: 32.79 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.6001, allocations: 5.344 kB / 0.6154 GB, free: 32.79 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.6001, allocations: 0 / 0.6154 GB, free: 32.79 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.6001, allocations: 3.281 kB / 0.6154 GB, free: 32.79 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008497/0.601, allocations: 0.705 MB / 0.6161 GB, free: 32.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.601, allocations: 0 / 0.6161 GB, free: 32.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.6011, allocations: 29.23 kB / 0.6162 GB, free: 32.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.6011, allocations: 3.156 kB / 0.6162 GB, free: 32.45 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.6012, allocations: 10.81 kB / 0.6162 GB, free: 32.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.6012, allocations: 0 / 0.6162 GB, free: 32.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.6012, allocations: 10.41 kB / 0.6162 GB, free: 32.44 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004051/0.6016, allocations: 336.7 kB / 0.6165 GB, free: 32.25 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.6017, allocations: 138.2 kB / 0.6166 GB, free: 32.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.185e-05/0.6018, allocations: 3.25 kB / 0.6166 GB, free: 32.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002205/0.602, allocations: 19.58 kB / 0.6167 GB, free: 32.13 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.694e-05/0.6021, allocations: 20.39 kB / 0.6167 GB, free: 32.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.6021, allocations: 14.25 kB / 0.6167 GB, free: 32.12 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003361/0.6024, allocations: 331.8 kB / 0.617 GB, free: 32.04 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6024, allocations: 3.938 kB / 0.617 GB, free: 32.03 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007052/0.6031, allocations: 203.2 kB / 0.6172 GB, free: 32 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001122/0.6043, allocations: 481.9 kB / 0.6177 GB, free: 31.87 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005934/0.6049, allocations: 265.9 kB / 0.6179 GB, free: 31.87 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.6049, allocations: 3.25 kB / 0.6179 GB, free: 31.87 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.6051, allocations: 87.66 kB / 0.618 GB, free: 31.86 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00121/0.6063, allocations: 228.3 kB / 0.6182 GB, free: 31.83 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.6075, allocations: 0.8625 MB / 0.6191 GB, free: 31.32 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/0.6077, allocations: 0.8266 MB / 0.6199 GB, free: 30.61 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.39e-05/0.6078, allocations: 37.06 kB / 0.6199 GB, free: 30.61 MB / 0.4981 GB Notification: Performance of SimCode: time 3.71e-07/0.6078, allocations: 2.844 kB / 0.6199 GB, free: 30.61 MB / 0.4981 GB Notification: Performance of Templates: time 0.01029/0.6181, allocations: 7.408 MB / 0.6271 GB, free: 29.87 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)