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.001097/0.001097, allocations: 99.03 kB / 16.02 MB, free: 76 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.001442/0.001443, allocations: 182.7 kB / 16.92 MB, free: 6.918 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.291/1.291, allocations: 223.3 MB / 241 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9456/0.9456, allocations: 135.3 MB / 427.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003279/0.0003278, allocations: 12 kB / 0.5082 GB, free: 4.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1672, allocations: 82.3 MB / 0.5886 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01518/0.1824, allocations: 14.97 MB / 0.6032 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.2621/0.4446, allocations: 4.282 MB / 0.6074 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006209/0.4452, allocations: 13.28 kB / 0.6074 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008126/0.4461, allocations: 218.1 kB / 0.6076 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001428/0.4475, allocations: 0.5577 MB / 0.6082 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00148/0.449, allocations: 0.6287 MB / 0.6088 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001131/0.4501, allocations: 1.312 MB / 0.6101 GB, free: 34.2 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003755/0.4505, allocations: 280.1 kB / 0.6103 GB, free: 34.18 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005789/0.4511, allocations: 391.5 kB / 0.6107 GB, free: 34.18 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003709/0.4515, allocations: 316.7 kB / 0.611 GB, free: 34.17 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.145e-05/0.4515, allocations: 12.81 kB / 0.611 GB, free: 34.17 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009814/0.4525, allocations: 0.601 MB / 0.6116 GB, free: 34.16 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.4526, allocations: 85.55 kB / 0.6117 GB, free: 34.14 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002062/0.4528, allocations: 231.9 kB / 0.6119 GB, free: 34.04 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005711/0.4534, allocations: 0.5359 MB / 0.6124 GB, free: 33.98 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.4534, allocations: 0 / 0.6124 GB, free: 33.98 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.412e-06/0.4534, allocations: 0 / 0.6124 GB, free: 33.98 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.4535, allocations: 2.531 kB / 0.6124 GB, free: 33.98 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.0009653/0.4544, allocations: 0.7574 MB / 0.6132 GB, free: 33.41 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.4545, allocations: 9.75 kB / 0.6132 GB, free: 33.41 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.804e-05/0.4546, allocations: 55.09 kB / 0.6132 GB, free: 33.39 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004675/0.455, allocations: 412.6 kB / 0.6136 GB, free: 33.13 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.4551, allocations: 21.5 kB / 0.6137 GB, free: 33.13 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.51e-05/0.4551, allocations: 30.56 kB / 0.6137 GB, free: 33.13 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004459/0.4556, allocations: 214.3 kB / 0.6139 GB, free: 33.1 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.4556, allocations: 2.719 kB / 0.6139 GB, free: 33.1 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.82e-05/0.4556, allocations: 12.44 kB / 0.6139 GB, free: 33.09 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.4556, allocations: 6.672 kB / 0.6139 GB, free: 33.09 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003776/0.456, allocations: 176.2 kB / 0.6141 GB, free: 33.09 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.001383/0.4574, allocations: 0.9536 MB / 0.615 GB, free: 32.64 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002609/0.4577, allocations: 136.8 kB / 0.6151 GB, free: 32.62 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001503/0.4578, allocations: 72.66 kB / 0.6152 GB, free: 32.61 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002208/0.4581, allocations: 341.4 kB / 0.6155 GB, free: 32.23 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/0.4581, allocations: 37.84 kB / 0.6156 GB, free: 32.19 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.353e-06/0.4581, allocations: 0 / 0.6156 GB, free: 32.19 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0005658/0.4587, allocations: 254.2 kB / 0.6158 GB, free: 32.13 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.439e-05/0.4587, allocations: 58.73 kB / 0.6159 GB, free: 32.07 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004706/0.4592, allocations: 472.3 kB / 0.6163 GB, free: 31.94 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.417e-05/0.4592, allocations: 32.2 kB / 0.6164 GB, free: 31.91 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.4594, allocations: 230.2 kB / 0.6166 GB, free: 31.8 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/0.4594, allocations: 53.53 kB / 0.6166 GB, free: 31.77 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-05/0.4594, allocations: 26.14 kB / 0.6167 GB, free: 31.76 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.652e-05/0.4595, allocations: 356.7 kB / 0.617 GB, free: 31.44 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/0.4597, allocations: 74.33 kB / 0.6171 GB, free: 31.44 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000199/0.4599, allocations: 156.2 kB / 0.6172 GB, free: 31.37 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002966/0.4602, allocations: 177.9 kB / 0.6174 GB, free: 31.34 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4602, allocations: 0 / 0.6174 GB, free: 31.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004306/0.4606, allocations: 262.8 kB / 0.6176 GB, free: 31.28 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.882e-05/0.4607, allocations: 117.7 kB / 0.6177 GB, free: 31.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.4607, allocations: 0 / 0.6177 GB, free: 31.17 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.4607, allocations: 2.531 kB / 0.6177 GB, free: 31.17 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002116/0.4609, allocations: 51.62 kB / 0.6178 GB, free: 31.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.4609, allocations: 2.844 kB / 0.6178 GB, free: 31.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003175/0.4613, allocations: 48.75 kB / 0.6178 GB, free: 31.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.741e-05/0.4613, allocations: 11.75 kB / 0.6179 GB, free: 31.14 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.761e-06/0.4613, allocations: 9.5 kB / 0.6179 GB, free: 31.14 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003613/0.4617, allocations: 186.4 kB / 0.618 GB, free: 31.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.863e-06/0.4617, allocations: 0 / 0.618 GB, free: 31.13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.757e-06/0.4617, allocations: 3 kB / 0.618 GB, free: 31.13 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001773/0.4619, allocations: 55.66 kB / 0.6181 GB, free: 31.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.144e-06/0.4619, allocations: 4 kB / 0.6181 GB, free: 31.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002883/0.4622, allocations: 45.73 kB / 0.6181 GB, free: 31.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.4622, allocations: 5.969 kB / 0.6182 GB, free: 31.11 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 0.000133/0.4623, allocations: 245 kB / 0.6184 GB, free: 30.92 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.366e-05/0.4624, allocations: 47.75 kB / 0.6184 GB, free: 30.89 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004661/0.4629, allocations: 256 kB / 0.6187 GB, free: 30.85 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.4629, allocations: 9.891 kB / 0.6187 GB, free: 30.84 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.4629, allocations: 0 / 0.6187 GB, free: 30.84 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.4629, allocations: 0 / 0.6187 GB, free: 30.84 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008918/0.4638, allocations: 0.7092 MB / 0.6194 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.4638, allocations: 3.656 kB / 0.6194 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.4639, allocations: 33.44 kB / 0.6194 GB, free: 30.49 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.464, allocations: 3.219 kB / 0.6194 GB, free: 30.49 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.464, allocations: 7.219 kB / 0.6194 GB, free: 30.49 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.464, allocations: 0 / 0.6194 GB, free: 30.49 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.464, allocations: 3.375 kB / 0.6194 GB, free: 30.49 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003817/0.4644, allocations: 358 kB / 0.6198 GB, free: 30.29 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.4645, allocations: 149 kB / 0.6199 GB, free: 30.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.647e-05/0.4645, allocations: 3.094 kB / 0.6199 GB, free: 30.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002266/0.4648, allocations: 22.55 kB / 0.6199 GB, free: 30.17 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.842e-05/0.4648, allocations: 17.55 kB / 0.62 GB, free: 30.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.4648, allocations: 9.609 kB / 0.62 GB, free: 30.16 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002786/0.4651, allocations: 336 kB / 0.6203 GB, free: 30.07 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8.12e-07/0.4651, allocations: 0 / 0.6203 GB, free: 30.07 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006456/0.4658, allocations: 209.7 kB / 0.6205 GB, free: 30.04 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.001008/0.4668, allocations: 482.6 kB / 0.6209 GB, free: 29.88 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005872/0.4674, allocations: 285.8 kB / 0.6212 GB, free: 29.86 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.4674, allocations: 0 / 0.6212 GB, free: 29.86 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001646/0.4676, allocations: 85.2 kB / 0.6213 GB, free: 29.86 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/0.4689, allocations: 229.2 kB / 0.6215 GB, free: 29.83 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.47, allocations: 0.8943 MB / 0.6224 GB, free: 29.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002169/0.4702, allocations: 0.8281 MB / 0.6232 GB, free: 28.59 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.934e-05/0.4703, allocations: 36.2 kB / 0.6232 GB, free: 28.59 MB / 0.4981 GB Notification: Performance of SimCode: time 5.11e-07/0.4703, allocations: 2.906 kB / 0.6232 GB, free: 28.59 MB / 0.4981 GB Notification: Performance of Templates: time 0.009517/0.4799, allocations: 7.344 MB / 0.6304 GB, free: 27.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)