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.001135/0.001135, allocations: 104.8 kB / 16.27 MB, free: 5.988 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.001048/0.001048, allocations: 188.9 kB / 17.2 MB, free: 5.613 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.335/1.335, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7981/0.7981, allocations: 135.1 MB / 426.2 MB, free: 4.188 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 67.89 kB / 0.506 GB, free: 8.379 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.3833, allocations: 80.91 MB / 0.585 GB, free: 25.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.09753/0.4809, allocations: 112.6 MB / 0.695 GB, free: 9.668 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02884/0.5098, allocations: 20.22 MB / 0.7148 GB, free: 5.398 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004151/0.514, allocations: 107.4 kB / 0.7149 GB, free: 5.293 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003892/0.5179, allocations: 1.281 MB / 0.7161 GB, free: 4.004 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01007/0.528, allocations: 3.681 MB / 0.7197 GB, free: 316 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.007484/0.5355, allocations: 3.062 MB / 0.7227 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.009671/0.5452, allocations: 7.19 MB / 0.7297 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004147/0.5494, allocations: 2.576 MB / 0.7322 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0067/0.5561, allocations: 2.8 MB / 0.735 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003946/0.5601, allocations: 2.127 MB / 0.737 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0007207/0.5608, allocations: 256 kB / 0.7373 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004086/0.5649, allocations: 1.646 MB / 0.7389 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007103/0.5656, allocations: 0.6889 MB / 0.7396 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002036/0.5677, allocations: 1.508 MB / 0.741 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005535/0.5732, allocations: 4.342 MB / 0.7453 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.5733, allocations: 0 / 0.7453 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.854e-06/0.5733, allocations: 4 kB / 0.7453 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.147e-05/0.5733, allocations: 0 / 0.7453 GB, free: 6.043 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.005131/0.5785, allocations: 3.237 MB / 0.7484 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.5785, allocations: 9.109 kB / 0.7485 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007747/0.5793, allocations: 324.2 kB / 0.7488 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003196/0.5825, allocations: 2.096 MB / 0.7508 GB, free: 248 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.241e-05/0.5826, allocations: 127 kB / 0.7509 GB, free: 120 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.3244/0.907, allocations: 167.3 kB / 0.7511 GB, free: 158.6 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003836/0.9109, allocations: 1.607 MB / 0.7527 GB, free: 158.1 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.779e-05/0.911, allocations: 3.438 kB / 0.7527 GB, free: 158.1 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001302/0.9111, allocations: 65.09 kB / 0.7527 GB, free: 158.1 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.056e-05/0.9112, allocations: 43.09 kB / 0.7528 GB, free: 158.1 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002237/0.9135, allocations: 1.143 MB / 0.7539 GB, free: 157.6 MB / 0.5762 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.01507/0.9285, allocations: 7.985 MB / 0.7617 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001643/0.9302, allocations: 469.6 kB / 0.7621 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009596/0.9312, allocations: 327.6 kB / 0.7624 GB, free: 151.7 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008403/0.9321, allocations: 0.7522 MB / 0.7632 GB, free: 150.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.471e-05/0.9322, allocations: 44.55 kB / 0.7632 GB, free: 150.7 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=60): time 5.45e-06/0.9322, allocations: 0.5312 kB / 0.7632 GB, free: 150.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60): time 0.003502/0.9357, allocations: 0.9861 MB / 0.7642 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.9357, allocations: 66.3 kB / 0.7642 GB, free: 150.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005201/0.941, allocations: 2.334 MB / 0.7665 GB, free: 149 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003115/0.9413, allocations: 46.39 kB / 0.7666 GB, free: 148.9 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.00102/0.9423, allocations: 1.155 MB / 0.7677 GB, free: 148 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002822/0.9426, allocations: 218.7 kB / 0.7679 GB, free: 147.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004539/0.9431, allocations: 256.9 kB / 0.7682 GB, free: 147.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.276e-05/0.9432, allocations: 345.7 kB / 0.7685 GB, free: 147.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008783/0.9441, allocations: 356.8 kB / 0.7688 GB, free: 147.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001154/0.9453, allocations: 0.7507 MB / 0.7696 GB, free: 146.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001813/0.9471, allocations: 0.9772 MB / 0.7705 GB, free: 145.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/0.9471, allocations: 3.938 kB / 0.7705 GB, free: 145.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.003618/0.9508, allocations: 1.287 MB / 0.7718 GB, free: 145.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.345e-05/0.9508, allocations: 7.938 kB / 0.7718 GB, free: 145.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.955e-05/0.9508, allocations: 9.5 kB / 0.7718 GB, free: 145.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.959e-05/0.9509, allocations: 15.84 kB / 0.7718 GB, free: 145.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001741/0.9527, allocations: 252.9 kB / 0.772 GB, free: 145.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.46e-05/0.9527, allocations: 28.23 kB / 0.7721 GB, free: 145.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00321/0.9559, allocations: 172.6 kB / 0.7722 GB, free: 144.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001506/0.9561, allocations: 51.64 kB / 0.7723 GB, free: 144.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002317/0.9584, allocations: 0.7613 MB / 0.773 GB, free: 144.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001429/0.9599, allocations: 0.7362 MB / 0.7737 GB, free: 143.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002233/0.9622, allocations: 0.9584 MB / 0.7747 GB, free: 143.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.387e-05/0.9622, allocations: 2.531 kB / 0.7747 GB, free: 143.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.004199/0.9664, allocations: 1.257 MB / 0.7759 GB, free: 142.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.9664, allocations: 8 kB / 0.7759 GB, free: 142.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.948e-05/0.9665, allocations: 8 kB / 0.7759 GB, free: 142.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.954e-05/0.9665, allocations: 19.88 kB / 0.7759 GB, free: 142.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00172/0.9683, allocations: 253.5 kB / 0.7762 GB, free: 142.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.378e-05/0.9683, allocations: 19.92 kB / 0.7762 GB, free: 142.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003263/0.9716, allocations: 127.1 kB / 0.7763 GB, free: 142 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001522/0.9718, allocations: 55.98 kB / 0.7764 GB, free: 142 MB / 0.5762 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.0004693/0.9722, allocations: 248.7 kB / 0.7766 GB, free: 141.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001071/0.9733, allocations: 237 kB / 0.7768 GB, free: 141.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003133/0.9765, allocations: 0.8906 MB / 0.7777 GB, free: 140.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.895e-05/0.9765, allocations: 4 kB / 0.7777 GB, free: 140.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.9766, allocations: 3.938 kB / 0.7777 GB, free: 140.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001614/0.9782, allocations: 0.6891 MB / 0.7784 GB, free: 139.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00762/0.9858, allocations: 2.579 MB / 0.7809 GB, free: 137.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/0.9859, allocations: 3.938 kB / 0.7809 GB, free: 137.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000995/0.9869, allocations: 127.8 kB / 0.781 GB, free: 137.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.55e-05/0.9869, allocations: 4 kB / 0.781 GB, free: 137.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.538e-05/0.987, allocations: 19.98 kB / 0.7811 GB, free: 137.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.195e-06/0.987, allocations: 3.969 kB / 0.7811 GB, free: 137.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.112e-06/0.987, allocations: 4 kB / 0.7811 GB, free: 137.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003451/0.9905, allocations: 1.313 MB / 0.7824 GB, free: 135.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001599/0.9921, allocations: 425.9 kB / 0.7828 GB, free: 135.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007804/0.9929, allocations: 12 kB / 0.7828 GB, free: 135.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002221/0.9952, allocations: 35.95 kB / 0.7828 GB, free: 135.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/0.9953, allocations: 52.39 kB / 0.7829 GB, free: 135.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001218/0.9955, allocations: 35.91 kB / 0.7829 GB, free: 135.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004147/0.9996, allocations: 1.566 MB / 0.7844 GB, free: 133.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.32e-07/0.9996, allocations: 0 / 0.7844 GB, free: 133.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005745/1.005, allocations: 1.106 MB / 0.7855 GB, free: 132.5 MB / 0.5762 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.002911/1.008, allocations: 0.7622 MB / 0.7862 GB, free: 132.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004951/1.013, allocations: 1.44 MB / 0.7876 GB, free: 130.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.12e-05/1.013, allocations: 4 kB / 0.7877 GB, free: 130.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009189/1.014, allocations: 323 kB / 0.788 GB, free: 130.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01165/1.026, allocations: 1.396 MB / 0.7893 GB, free: 129.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009757/1.036, allocations: 3.791 MB / 0.793 GB, free: 125.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001755/1.038, allocations: 1.586 MB / 0.7946 GB, free: 123.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001062/1.039, allocations: 183.3 kB / 0.7947 GB, free: 123.5 MB / 0.5762 GB Notification: Performance of SimCode: time 1.212e-06/1.039, allocations: 0 / 0.7947 GB, free: 123.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.07504/1.114, allocations: 39.54 MB / 0.8334 GB, free: 84.16 MB / 0.5762 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)