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.001151/0.001151, allocations: 112.4 kB / 16.42 MB, free: 6.469 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.001161/0.001161, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.336/1.336, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7604/0.7604, allocations: 132.2 MB / 423.4 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 68.5 kB / 0.582 GB, free: 23.87 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1617, allocations: 80.22 MB / 0.6604 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.5074/0.6692, allocations: 112.6 MB / 0.7703 GB, free: 24.64 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02957/0.6988, allocations: 20.21 MB / 0.7901 GB, free: 22.93 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005392/0.7042, allocations: 105.5 kB / 0.7902 GB, free: 22.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003779/0.708, allocations: 1.306 MB / 0.7915 GB, free: 22.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01037/0.7185, allocations: 3.867 MB / 0.7952 GB, free: 20.78 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007806/0.7263, allocations: 3.117 MB / 0.7983 GB, free: 19.5 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009661/0.736, allocations: 7.222 MB / 0.8053 GB, free: 16 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003848/0.7398, allocations: 2.582 MB / 0.8079 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005767/0.7456, allocations: 2.897 MB / 0.8107 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003305/0.7489, allocations: 2.13 MB / 0.8128 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006781/0.7496, allocations: 253.9 kB / 0.813 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004098/0.7537, allocations: 1.646 MB / 0.8146 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000867/0.7546, allocations: 0.6884 MB / 0.8153 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002736/0.7574, allocations: 1.523 MB / 0.8168 GB, free: 9.41 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.008441/0.7658, allocations: 4.396 MB / 0.8211 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.7659, allocations: 3.25 kB / 0.8211 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.225e-06/0.7659, allocations: 0 / 0.8211 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001189/0.766, allocations: 0 / 0.8211 GB, free: 6.523 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.005858/0.7719, allocations: 3.225 MB / 0.8242 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.7719, allocations: 14.28 kB / 0.8242 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007957/0.7727, allocations: 326.7 kB / 0.8245 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003565/0.7763, allocations: 2.197 MB / 0.8267 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.651e-05/0.7764, allocations: 124.9 kB / 0.8268 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00019/0.7766, allocations: 168 kB / 0.827 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002258/0.7789, allocations: 1.614 MB / 0.8285 GB, free: 312 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.286e-05/0.7789, allocations: 3.938 kB / 0.8285 GB, free: 308 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/0.779, allocations: 67.94 kB / 0.8286 GB, free: 240 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.144e-05/0.7791, allocations: 40 kB / 0.8286 GB, free: 200 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001969/0.781, allocations: 1.145 MB / 0.8298 GB, free: 15.05 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.009988/0.791, allocations: 7.914 MB / 0.8375 GB, free: 6.695 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007561/0.7918, allocations: 485.9 kB / 0.838 GB, free: 6.211 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004851/0.7923, allocations: 319 kB / 0.8383 GB, free: 5.898 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006079/0.7929, allocations: 0.7511 MB / 0.839 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.793, allocations: 43.12 kB / 0.839 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=60): time 2.555e-06/0.793, allocations: 0 / 0.839 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60): time 0.001932/0.7949, allocations: 0.9881 MB / 0.84 GB, free: 3.938 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.795, allocations: 59.91 kB / 0.8401 GB, free: 3.863 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002852/0.7978, allocations: 2.335 MB / 0.8423 GB, free: 1.516 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.76e-05/0.7979, allocations: 49.7 kB / 0.8424 GB, free: 1.461 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009881/0.7989, allocations: 1.151 MB / 0.8435 GB, free: 312 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002474/0.7992, allocations: 211.2 kB / 0.8437 GB, free: 104 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004003/0.7996, allocations: 265 kB / 0.844 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.7997, allocations: 341.9 kB / 0.8443 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006558/0.8004, allocations: 361.9 kB / 0.8446 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009612/0.8014, allocations: 0.7463 MB / 0.8454 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001381/0.8028, allocations: 0.9746 MB / 0.8463 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/0.8028, allocations: 11.94 kB / 0.8463 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002189/0.805, allocations: 1.287 MB / 0.8476 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.805, allocations: 8 kB / 0.8476 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.805, allocations: 12.69 kB / 0.8476 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.531e-05/0.8051, allocations: 12 kB / 0.8476 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009754/0.8061, allocations: 259.6 kB / 0.8479 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.368e-05/0.8061, allocations: 15.94 kB / 0.8479 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/0.8075, allocations: 170.3 kB / 0.848 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.701e-05/0.8076, allocations: 51.98 kB / 0.8481 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001195/0.8088, allocations: 0.7641 MB / 0.8488 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008845/0.8097, allocations: 0.7347 MB / 0.8496 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001289/0.811, allocations: 0.9526 MB / 0.8505 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.949e-06/0.811, allocations: 4 kB / 0.8505 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002039/0.813, allocations: 1.258 MB / 0.8517 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.8131, allocations: 8.156 kB / 0.8517 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.8131, allocations: 15.98 kB / 0.8517 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.8131, allocations: 19.94 kB / 0.8518 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008833/0.814, allocations: 243.6 kB / 0.852 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.932e-05/0.814, allocations: 19.94 kB / 0.852 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/0.8154, allocations: 131.1 kB / 0.8521 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.171e-05/0.8155, allocations: 51.98 kB / 0.8522 GB, free: 6.859 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.0002569/0.8158, allocations: 251.8 kB / 0.8524 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003209/0.8161, allocations: 241 kB / 0.8527 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001601/0.8177, allocations: 0.8768 MB / 0.8535 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001021/0.8187, allocations: 0.6931 MB / 0.8542 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.8187, allocations: 0 / 0.8542 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007027/0.8195, allocations: 406 kB / 0.8546 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002495/0.8197, allocations: 16 kB / 0.8546 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009252/0.8206, allocations: 51.84 kB / 0.8546 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.8208, allocations: 44.44 kB / 0.8547 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001477/0.8222, allocations: 0.7641 MB / 0.8554 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001948/0.8242, allocations: 1.399 MB / 0.8568 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004933/0.8247, allocations: 324.3 kB / 0.8571 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002234/0.827, allocations: 1.562 MB / 0.8586 GB, free: 176 kB / 0.6075 GB Notification: Performance of Backend: time 7.51e-07/0.827, allocations: 0 / 0.8586 GB, free: 176 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.005153/0.8321, allocations: 2.038 MB / 0.8606 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of SimCode: time 0.01124/0.8434, allocations: 5.177 MB / 0.8657 GB, free: 9.25 MB / 0.6231 GB Notification: Performance of Templates: time 0.07541/0.9188, allocations: 48.97 MB / 0.9135 GB, free: 8.719 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)