Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.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.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001523/0.001523, allocations: 193.1 kB / 16.14 MB, free: 6.711 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.471/1.471, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9276/0.9276, allocations: 135.1 MB / 425.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 60.66 kB / 0.5047 GB, free: 5.746 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1979/0.1994, allocations: 80.92 MB / 0.5837 GB, free: 4.988 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.4085/0.6079, allocations: 29.64 MB / 0.6127 GB, free: 35.63 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01129/0.6193, allocations: 8.222 MB / 0.6207 GB, free: 34 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001946/0.6213, allocations: 24.53 kB / 0.6207 GB, free: 33.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001421/0.6228, allocations: 346 kB / 0.621 GB, free: 33.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006076/0.6289, allocations: 1.233 MB / 0.6222 GB, free: 33.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004152/0.633, allocations: 1.027 MB / 0.6233 GB, free: 32.56 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005846/0.6389, allocations: 4.207 MB / 0.6274 GB, free: 31.15 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002244/0.6412, allocations: 1.173 MB / 0.6285 GB, free: 30.83 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004438/0.6456, allocations: 1.511 MB / 0.63 GB, free: 30.34 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004019/0.6497, allocations: 1.621 MB / 0.6316 GB, free: 29.87 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008661/0.6506, allocations: 73.34 kB / 0.6316 GB, free: 29.87 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003697/0.6543, allocations: 0.9441 MB / 0.6326 GB, free: 29.59 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007324/0.6551, allocations: 349.5 kB / 0.6329 GB, free: 29.45 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00138/0.6565, allocations: 0.6974 MB / 0.6336 GB, free: 29.11 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003215/0.6597, allocations: 2.122 MB / 0.6356 GB, free: 28.43 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.6597, allocations: 0 / 0.6356 GB, free: 28.43 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.363e-06/0.6597, allocations: 3.938 kB / 0.6356 GB, free: 28.43 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.68e-05/0.6598, allocations: 0 / 0.6356 GB, free: 28.43 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.003734/0.6635, allocations: 1.677 MB / 0.6373 GB, free: 27.38 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.732e-05/0.6636, allocations: 7.875 kB / 0.6373 GB, free: 27.38 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005599/0.6641, allocations: 157.8 kB / 0.6374 GB, free: 27.31 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002068/0.6662, allocations: 0.8913 MB / 0.6383 GB, free: 26.79 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.005e-05/0.6663, allocations: 81.84 kB / 0.6384 GB, free: 26.76 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002619/0.6666, allocations: 118.7 kB / 0.6385 GB, free: 26.73 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001376/0.668, allocations: 0.6342 MB / 0.6391 GB, free: 26.45 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/0.668, allocations: 0 / 0.6391 GB, free: 26.45 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.169e-05/0.6681, allocations: 27.06 kB / 0.6391 GB, free: 26.43 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.997e-05/0.6681, allocations: 15.72 kB / 0.6392 GB, free: 26.43 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001086/0.6692, allocations: 462.2 kB / 0.6396 GB, free: 26.28 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.005602/0.6748, allocations: 2.865 MB / 0.6424 GB, free: 24.46 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007563/0.6756, allocations: 314.9 kB / 0.6427 GB, free: 24.34 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003534/0.676, allocations: 142.2 kB / 0.6428 GB, free: 24.29 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002833/0.6763, allocations: 345.7 kB / 0.6432 GB, free: 23.91 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.6763, allocations: 44.56 kB / 0.6432 GB, free: 23.86 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 2.975e-06/0.6763, allocations: 0 / 0.6432 GB, free: 23.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.00189/0.6782, allocations: 0.53 MB / 0.6437 GB, free: 23.66 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/0.6783, allocations: 55.03 kB / 0.6438 GB, free: 23.59 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001697/0.68, allocations: 0.9063 MB / 0.6447 GB, free: 23.22 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002821/0.6803, allocations: 58.11 kB / 0.6447 GB, free: 23.17 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006207/0.6809, allocations: 0.5295 MB / 0.6452 GB, free: 22.75 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/0.681, allocations: 114.5 kB / 0.6453 GB, free: 22.66 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006817/0.6817, allocations: 297.3 kB / 0.6456 GB, free: 22.56 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.299e-05/0.6818, allocations: 331 kB / 0.6459 GB, free: 22.25 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005842/0.6824, allocations: 194.4 kB / 0.6461 GB, free: 22.17 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001889/0.6843, allocations: 1.147 MB / 0.6472 GB, free: 21.08 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/0.6856, allocations: 458.6 kB / 0.6477 GB, free: 20.85 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.6856, allocations: 1.094 kB / 0.6477 GB, free: 20.85 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002236/0.6878, allocations: 0.6487 MB / 0.6483 GB, free: 20.6 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.851e-05/0.6879, allocations: 6.344 kB / 0.6483 GB, free: 20.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/0.6879, allocations: 2.094 kB / 0.6483 GB, free: 20.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.465e-05/0.6879, allocations: 5.562 kB / 0.6483 GB, free: 20.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001902/0.6898, allocations: 238.8 kB / 0.6486 GB, free: 20.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001241/0.6911, allocations: 2.954 MB / 0.6514 GB, free: 17.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003837/0.6949, allocations: 0.7247 MB / 0.6522 GB, free: 17.51 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001244/0.6951, allocations: 31.52 kB / 0.6522 GB, free: 17.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009954/0.6961, allocations: 366.7 kB / 0.6525 GB, free: 17.31 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001323/0.6974, allocations: 1.163 MB / 0.6537 GB, free: 16.18 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008169/0.6983, allocations: 456.9 kB / 0.6541 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.487e-06/0.6983, allocations: 1.188 kB / 0.6541 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001734/0.7, allocations: 0.6561 MB / 0.6547 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.7, allocations: 5.719 kB / 0.6548 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.7, allocations: 3.344 kB / 0.6548 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.7001, allocations: 7 kB / 0.6548 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007172/0.7008, allocations: 160.8 kB / 0.6549 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.7008, allocations: 5.781 kB / 0.6549 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004676/0.7055, allocations: 0.9847 MB / 0.6559 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/0.7056, allocations: 30.89 kB / 0.6559 GB, free: 15.55 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (73): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004148/0.7061, allocations: 241.7 kB / 0.6561 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002979/0.7064, allocations: 99.48 kB / 0.6562 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001219/0.7076, allocations: 0.5113 MB / 0.6567 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.394e-05/0.7076, allocations: 4.656 kB / 0.6567 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.7076, allocations: 5.469 kB / 0.6567 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.7076, allocations: 6.156 kB / 0.6568 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002161/0.7098, allocations: 1.252 MB / 0.658 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.7098, allocations: 2.016 kB / 0.658 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005532/0.7104, allocations: 127.6 kB / 0.6581 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.776e-06/0.7104, allocations: 2.344 kB / 0.6581 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.515e-05/0.7104, allocations: 15.48 kB / 0.6581 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008111/0.7113, allocations: 2.936 MB / 0.661 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.7113, allocations: 2 kB / 0.661 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009238/0.7122, allocations: 0.5617 MB / 0.6615 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003306/0.7125, allocations: 210.8 kB / 0.6617 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.7127, allocations: 12.75 kB / 0.6617 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005253/0.7132, allocations: 63.72 kB / 0.6618 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.263e-05/0.7133, allocations: 31.66 kB / 0.6618 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-05/0.7133, allocations: 16.31 kB / 0.6619 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008512/0.7142, allocations: 0.6054 MB / 0.6624 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7142, allocations: 0 / 0.6624 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001776/0.716, allocations: 0.5414 MB / 0.663 GB, free: 10.52 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 (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007737/0.7168, allocations: 340 kB / 0.6633 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002802/0.7196, allocations: 0.8447 MB / 0.6641 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.7196, allocations: 0 / 0.6641 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005707/0.7202, allocations: 224.4 kB / 0.6643 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002476/0.7227, allocations: 477.4 kB / 0.6648 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002498/0.7252, allocations: 1.866 MB / 0.6666 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004908/0.7257, allocations: 1.026 MB / 0.6676 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001322/0.727, allocations: 206.2 kB / 0.6678 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002051/0.7272, allocations: 78.8 kB / 0.6679 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of SimCode: time 1.052e-06/0.7272, allocations: 0 / 0.6679 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of Templates: time 0.04227/0.7695, allocations: 24.5 MB / 0.6918 GB, free: 13.88 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)