Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.009599/0.009599, allocations: 104.8 kB / 15.74 MB, free: 6.496 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.001885/0.001885, allocations: 197.2 kB / 16.68 MB, free: 6.371 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.426/1.426, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.021/1.021, allocations: 135.1 MB / 425.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 63.89 kB / 0.5856 GB, free: 3.359 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4361/0.4375, allocations: 80.91 MB / 0.6646 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.1268/0.5644, allocations: 112.7 MB / 0.7746 GB, free: 0.6758 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03703/0.6014, allocations: 20.21 MB / 0.7944 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00442/0.6059, allocations: 107.4 kB / 0.7945 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004442/0.6104, allocations: 1.312 MB / 0.7958 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01164/0.6221, allocations: 3.871 MB / 0.7996 GB, free: 7.105 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.009084/0.6312, allocations: 3.108 MB / 0.8026 GB, free: 4.035 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01221/0.6434, allocations: 7.228 MB / 0.8096 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005862/0.6493, allocations: 2.58 MB / 0.8122 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00913/0.6585, allocations: 2.89 MB / 0.815 GB, free: 7.254 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004721/0.6632, allocations: 2.128 MB / 0.8171 GB, free: 5.117 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001223/0.6644, allocations: 252 kB / 0.8173 GB, free: 4.871 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004605/0.6691, allocations: 1.65 MB / 0.8189 GB, free: 3.219 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001294/0.6704, allocations: 0.685 MB / 0.8196 GB, free: 2.531 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003294/0.6737, allocations: 1.512 MB / 0.8211 GB, free: 1.012 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.007604/0.6813, allocations: 4.406 MB / 0.8254 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.6814, allocations: 0 / 0.8254 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.462e-06/0.6814, allocations: 3.938 kB / 0.8254 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001639/0.6815, allocations: 0 / 0.8254 GB, free: 12.59 MB / 0.6544 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.007747/0.6893, allocations: 3.226 MB / 0.8285 GB, free: 9.293 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.6893, allocations: 8.031 kB / 0.8285 GB, free: 9.285 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008457/0.6902, allocations: 324.2 kB / 0.8288 GB, free: 8.965 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003587/0.6938, allocations: 2.201 MB / 0.831 GB, free: 6.691 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.64e-05/0.6939, allocations: 123 kB / 0.8311 GB, free: 6.57 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002384/0.6941, allocations: 168 kB / 0.8313 GB, free: 6.406 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002775/0.6969, allocations: 1.612 MB / 0.8328 GB, free: 4.73 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.676e-05/0.697, allocations: 3.938 kB / 0.8328 GB, free: 4.727 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001918/0.6972, allocations: 67.98 kB / 0.8329 GB, free: 4.66 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.239e-05/0.6972, allocations: 40 kB / 0.8329 GB, free: 4.621 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001965/0.6992, allocations: 1.147 MB / 0.8341 GB, free: 3.469 MB / 0.6544 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.01125/0.7105, allocations: 7.912 MB / 0.8418 GB, free: 11.05 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008329/0.7113, allocations: 474.9 kB / 0.8422 GB, free: 10.58 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004771/0.7118, allocations: 331 kB / 0.8426 GB, free: 10.25 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006125/0.7124, allocations: 0.7524 MB / 0.8433 GB, free: 9.336 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/0.7125, allocations: 43.12 kB / 0.8433 GB, free: 9.285 MB / 0.67 GB Notification: Performance of pre-optimization done (n=60): time 2.534e-06/0.7125, allocations: 0 / 0.8433 GB, free: 9.285 MB / 0.67 GB Notification: Performance of matching and sorting (n=60): time 0.002161/0.7146, allocations: 0.9919 MB / 0.8443 GB, free: 8.285 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.7147, allocations: 59.91 kB / 0.8444 GB, free: 8.215 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003187/0.7179, allocations: 2.335 MB / 0.8466 GB, free: 5.867 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001811/0.7181, allocations: 49.7 kB / 0.8467 GB, free: 5.812 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001051/0.7192, allocations: 1.149 MB / 0.8478 GB, free: 4.652 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002493/0.7194, allocations: 209 kB / 0.848 GB, free: 4.445 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000375/0.7198, allocations: 254.6 kB / 0.8483 GB, free: 4.188 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002087/0.72, allocations: 357.9 kB / 0.8486 GB, free: 3.832 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006659/0.7207, allocations: 361.9 kB / 0.8489 GB, free: 3.477 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/0.7217, allocations: 0.7462 MB / 0.8497 GB, free: 2.574 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001372/0.7231, allocations: 0.9824 MB / 0.8506 GB, free: 1.48 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.688e-06/0.7231, allocations: 8 kB / 0.8506 GB, free: 1.473 MB / 0.67 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002656/0.7258, allocations: 1.292 MB / 0.8519 GB, free: 176 kB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.692e-05/0.7258, allocations: 12 kB / 0.8519 GB, free: 164 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.756e-05/0.7259, allocations: 8 kB / 0.8519 GB, free: 156 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.356e-05/0.7259, allocations: 12 kB / 0.8519 GB, free: 144 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009861/0.7269, allocations: 247.6 kB / 0.8522 GB, free: 15.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.726e-05/0.7269, allocations: 23.92 kB / 0.8522 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001626/0.7286, allocations: 170.4 kB / 0.8523 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.471e-05/0.7287, allocations: 51.98 kB / 0.8524 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001441/0.7301, allocations: 0.7602 MB / 0.8531 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00117/0.7313, allocations: 0.7424 MB / 0.8539 GB, free: 13.99 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001451/0.7328, allocations: 0.9524 MB / 0.8548 GB, free: 12.92 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.691e-06/0.7328, allocations: 4 kB / 0.8548 GB, free: 12.91 MB / 0.6856 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.00269/0.7355, allocations: 1.266 MB / 0.856 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.7355, allocations: 8 kB / 0.856 GB, free: 11.63 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.7355, allocations: 8 kB / 0.8561 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.7356, allocations: 16 kB / 0.8561 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000857/0.7364, allocations: 243.6 kB / 0.8563 GB, free: 11.37 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.13e-05/0.7364, allocations: 23.92 kB / 0.8563 GB, free: 11.35 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001547/0.738, allocations: 127.6 kB / 0.8564 GB, free: 11.22 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.138e-05/0.7381, allocations: 47.98 kB / 0.8565 GB, free: 11.18 MB / 0.6856 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.0003698/0.7385, allocations: 253.4 kB / 0.8567 GB, free: 10.92 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004505/0.7389, allocations: 237 kB / 0.857 GB, free: 10.69 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001745/0.7407, allocations: 0.8898 MB / 0.8578 GB, free: 9.785 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.535e-05/0.7407, allocations: 8 kB / 0.8578 GB, free: 9.777 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.7407, allocations: 0 / 0.8578 GB, free: 9.777 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001042/0.7418, allocations: 0.6892 MB / 0.8585 GB, free: 9.059 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004225/0.746, allocations: 2.582 MB / 0.861 GB, free: 6.402 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.744e-06/0.746, allocations: 4 kB / 0.861 GB, free: 6.398 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005159/0.7465, allocations: 123.9 kB / 0.8611 GB, free: 6.277 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.016e-06/0.7466, allocations: 8.094 kB / 0.8612 GB, free: 6.27 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.359e-05/0.7466, allocations: 15.98 kB / 0.8612 GB, free: 6.254 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.887e-06/0.7466, allocations: 11.88 kB / 0.8612 GB, free: 6.242 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.7466, allocations: 4 kB / 0.8612 GB, free: 6.238 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002099/0.7487, allocations: 1.31 MB / 0.8625 GB, free: 4.895 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007694/0.7495, allocations: 418 kB / 0.8629 GB, free: 4.465 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002254/0.7498, allocations: 12 kB / 0.8629 GB, free: 4.453 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008627/0.7506, allocations: 43.89 kB / 0.8629 GB, free: 4.41 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001926/0.7508, allocations: 48.44 kB / 0.863 GB, free: 4.363 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.856e-05/0.7509, allocations: 39.97 kB / 0.863 GB, free: 4.324 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002318/0.7533, allocations: 1.558 MB / 0.8645 GB, free: 2.762 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.61e-07/0.7533, allocations: 0 / 0.8645 GB, free: 2.762 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00306/0.7563, allocations: 1.118 MB / 0.8656 GB, free: 1.641 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U,valTab.vol.dynBal.U) * 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 (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001637/0.758, allocations: 0.7469 MB / 0.8663 GB, free: 1.027 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.3491/1.107, allocations: 1.351 MB / 0.8677 GB, free: 186 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/1.107, allocations: 1.594 kB / 0.8677 GB, free: 186 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0007758/1.108, allocations: 328.6 kB / 0.868 GB, free: 186 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00853/1.116, allocations: 1.388 MB / 0.8693 GB, free: 185.8 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00713/1.124, allocations: 3.668 MB / 0.8729 GB, free: 184 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001509/1.125, allocations: 1.589 MB / 0.8745 GB, free: 183.3 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002533/1.128, allocations: 0.4921 MB / 0.8749 GB, free: 183.2 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004784/1.128, allocations: 172.5 kB / 0.8751 GB, free: 183.2 MB / 0.6856 GB Notification: Performance of SimCode: time 1.052e-06/1.128, allocations: 8.5 kB / 0.8751 GB, free: 183.2 MB / 0.6856 GB Notification: Performance of Templates: time 0.06585/1.194, allocations: 44.72 MB / 0.9188 GB, free: 155.7 MB / 0.6856 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)