Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 114.2 kB / 16.42 MB, free: 6.508 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.001134/0.001135, allocations: 183.9 kB / 17.35 MB, free: 5.754 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.34/1.34, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7817/0.7817, allocations: 132.2 MB / 423.4 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 66.59 kB / 0.582 GB, free: 23.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1455, allocations: 80.2 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.4402/0.5858, allocations: 112.6 MB / 0.7703 GB, free: 24.67 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02593/0.6117, allocations: 20.22 MB / 0.7901 GB, free: 22.96 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004211/0.616, allocations: 109.1 kB / 0.7902 GB, free: 22.96 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003009/0.619, allocations: 1.313 MB / 0.7915 GB, free: 22.54 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009139/0.6282, allocations: 3.853 MB / 0.7952 GB, free: 20.81 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00693/0.6351, allocations: 3.127 MB / 0.7983 GB, free: 19.52 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01045/0.6456, allocations: 7.215 MB / 0.8053 GB, free: 16.06 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003025/0.6486, allocations: 2.577 MB / 0.8078 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005963/0.6546, allocations: 2.901 MB / 0.8107 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002801/0.6574, allocations: 2.124 MB / 0.8128 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003658/0.6578, allocations: 255.6 kB / 0.813 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003308/0.6611, allocations: 1.652 MB / 0.8146 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004818/0.6616, allocations: 0.6919 MB / 0.8153 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001223/0.6628, allocations: 1.51 MB / 0.8168 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004498/0.6673, allocations: 4.417 MB / 0.8211 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.6674, allocations: 3.938 kB / 0.8211 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6674, allocations: 0 / 0.8211 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.511e-05/0.6674, allocations: 2.562 kB / 0.8211 GB, free: 6.566 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.004072/0.6715, allocations: 3.321 MB / 0.8243 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.6715, allocations: 12.3 kB / 0.8243 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006703/0.6722, allocations: 340.6 kB / 0.8247 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00293/0.6752, allocations: 2.223 MB / 0.8268 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.208e-05/0.6752, allocations: 130.9 kB / 0.827 GB, free: 2 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001816/0.6754, allocations: 164 kB / 0.8271 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002105/0.6775, allocations: 1.604 MB / 0.8287 GB, free: 176 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.715e-05/0.6776, allocations: 7.938 kB / 0.8287 GB, free: 168 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/0.6777, allocations: 67.94 kB / 0.8288 GB, free: 100 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.678e-05/0.6777, allocations: 43.98 kB / 0.8288 GB, free: 56 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002032/0.6798, allocations: 1.147 MB / 0.8299 GB, free: 14.9 MB / 0.5919 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.00983/0.6896, allocations: 7.935 MB / 0.8377 GB, free: 6.531 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007569/0.6904, allocations: 470 kB / 0.8381 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004903/0.6909, allocations: 323 kB / 0.8384 GB, free: 5.746 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006347/0.6915, allocations: 0.7509 MB / 0.8392 GB, free: 4.832 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/0.6916, allocations: 47.11 kB / 0.8392 GB, free: 4.777 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=60): time 2.595e-06/0.6916, allocations: 4 kB / 0.8392 GB, free: 4.773 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60): time 0.001992/0.6936, allocations: 0.9972 MB / 0.8402 GB, free: 3.77 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.6937, allocations: 63.89 kB / 0.8402 GB, free: 3.691 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003423/0.6971, allocations: 2.332 MB / 0.8425 GB, free: 1.348 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001045/0.6972, allocations: 45.7 kB / 0.8426 GB, free: 1.297 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001017/0.6982, allocations: 1.169 MB / 0.8437 GB, free: 128 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002278/0.6985, allocations: 224.4 kB / 0.8439 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003862/0.6989, allocations: 266.5 kB / 0.8442 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.699, allocations: 349.9 kB / 0.8445 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006743/0.6997, allocations: 357.9 kB / 0.8448 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001006/0.7007, allocations: 0.7463 MB / 0.8456 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001518/0.7022, allocations: 0.9785 MB / 0.8465 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/0.7022, allocations: 3.938 kB / 0.8465 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002376/0.7046, allocations: 1.304 MB / 0.8478 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.7047, allocations: 13.81 kB / 0.8478 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.7047, allocations: 8 kB / 0.8478 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.566e-05/0.7047, allocations: 16 kB / 0.8478 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009808/0.7057, allocations: 247.6 kB / 0.8481 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.302e-05/0.7057, allocations: 24.39 kB / 0.8481 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001445/0.7072, allocations: 174.9 kB / 0.8483 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/0.7073, allocations: 51.98 kB / 0.8483 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001304/0.7086, allocations: 0.7563 MB / 0.8491 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009576/0.7096, allocations: 0.7425 MB / 0.8498 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001386/0.711, allocations: 0.9486 MB / 0.8507 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.598e-06/0.711, allocations: 8 kB / 0.8507 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002285/0.7133, allocations: 1.274 MB / 0.852 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/0.7133, allocations: 12 kB / 0.852 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.7134, allocations: 8.875 kB / 0.852 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.7134, allocations: 12 kB / 0.852 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009176/0.7143, allocations: 251.6 kB / 0.8522 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.312e-05/0.7143, allocations: 23.92 kB / 0.8523 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001463/0.7158, allocations: 123.3 kB / 0.8524 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-05/0.7159, allocations: 51.98 kB / 0.8524 GB, free: 6.637 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (141): * Single equations (assignments): 141 * 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.0002832/0.7162, allocations: 259.8 kB / 0.8527 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004615/0.7167, allocations: 246.4 kB / 0.8529 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00181/0.7185, allocations: 0.8817 MB / 0.8538 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001022/0.7195, allocations: 0.6814 MB / 0.8544 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.7195, allocations: 0 / 0.8544 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007717/0.7203, allocations: 435.2 kB / 0.8548 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003573/0.7207, allocations: 12 kB / 0.8549 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009772/0.7217, allocations: 47.86 kB / 0.8549 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.584e-05/0.7218, allocations: 48.45 kB / 0.8549 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001456/0.7232, allocations: 0.7718 MB / 0.8557 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001998/0.7252, allocations: 1.408 MB / 0.8571 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004839/0.7257, allocations: 308.4 kB / 0.8574 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002327/0.7281, allocations: 1.569 MB / 0.8589 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of Backend: time 3.3e-07/0.7281, allocations: 0 / 0.8589 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004931/0.733, allocations: 2.041 MB / 0.8609 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of SimCode: time 0.009487/0.7425, allocations: 5.263 MB / 0.866 GB, free: 8.898 MB / 0.6231 GB Notification: Performance of Templates: time 0.0803/0.8228, allocations: 48.96 MB / 0.9138 GB, free: 8.375 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)