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.008704/0.008704, allocations: 96.75 kB / 15.73 MB, free: 6.027 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.001957/0.001957, allocations: 194.5 kB / 16.68 MB, free: 5.957 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.481/1.481, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.058/1.058, allocations: 135.1 MB / 425.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 59.91 kB / 0.5856 GB, free: 3.305 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4108/0.4121, allocations: 80.92 MB / 0.6647 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.1203/0.5324, allocations: 112.6 MB / 0.7747 GB, free: 0.6094 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03016/0.5626, allocations: 20.23 MB / 0.7944 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004157/0.5668, allocations: 107.3 kB / 0.7945 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004147/0.5711, allocations: 1.273 MB / 0.7958 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01126/0.5823, allocations: 3.691 MB / 0.7994 GB, free: 7.246 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.009768/0.5921, allocations: 3.105 MB / 0.8024 GB, free: 4.18 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01172/0.6039, allocations: 7.206 MB / 0.8094 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004822/0.6087, allocations: 2.576 MB / 0.8119 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007059/0.6158, allocations: 2.811 MB / 0.8147 GB, free: 7.5 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004351/0.6202, allocations: 2.128 MB / 0.8168 GB, free: 5.363 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0009109/0.6211, allocations: 255.9 kB / 0.817 GB, free: 5.113 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004316/0.6254, allocations: 1.646 MB / 0.8186 GB, free: 3.465 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001102/0.6265, allocations: 0.6851 MB / 0.8193 GB, free: 2.777 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002784/0.6293, allocations: 1.512 MB / 0.8208 GB, free: 1.258 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.007506/0.6369, allocations: 4.417 MB / 0.8251 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.6369, allocations: 0 / 0.8251 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6369, allocations: 4 kB / 0.8251 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001361/0.637, allocations: 0 / 0.8251 GB, free: 12.82 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.006741/0.6438, allocations: 3.324 MB / 0.8283 GB, free: 9.422 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.6438, allocations: 8.031 kB / 0.8283 GB, free: 9.414 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00102/0.6449, allocations: 345.9 kB / 0.8287 GB, free: 9.074 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004344/0.6492, allocations: 2.212 MB / 0.8308 GB, free: 6.793 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/0.6494, allocations: 123 kB / 0.8309 GB, free: 6.672 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003069/0.6497, allocations: 164 kB / 0.8311 GB, free: 6.512 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002964/0.6526, allocations: 1.619 MB / 0.8327 GB, free: 4.832 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.299e-05/0.6527, allocations: 15.88 kB / 0.8327 GB, free: 4.816 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001399/0.6528, allocations: 63.98 kB / 0.8328 GB, free: 4.754 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.802e-05/0.6529, allocations: 44 kB / 0.8328 GB, free: 4.711 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002164/0.6551, allocations: 1.143 MB / 0.8339 GB, free: 3.562 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.012/0.6671, allocations: 7.934 MB / 0.8417 GB, free: 11.12 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008668/0.668, allocations: 472.6 kB / 0.8421 GB, free: 10.66 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005703/0.6686, allocations: 326 kB / 0.8424 GB, free: 10.34 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007838/0.6694, allocations: 0.7524 MB / 0.8432 GB, free: 9.422 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.541e-05/0.6694, allocations: 51.06 kB / 0.8432 GB, free: 9.363 MB / 0.67 GB Notification: Performance of pre-optimization done (n=60): time 3.486e-06/0.6695, allocations: 0 / 0.8432 GB, free: 9.363 MB / 0.67 GB Notification: Performance of matching and sorting (n=60): time 0.002711/0.6722, allocations: 1.005 MB / 0.8442 GB, free: 8.352 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.6722, allocations: 55.97 kB / 0.8442 GB, free: 8.285 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004309/0.6766, allocations: 2.332 MB / 0.8465 GB, free: 5.941 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.000182/0.6768, allocations: 45.7 kB / 0.8466 GB, free: 5.891 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001172/0.6779, allocations: 1.178 MB / 0.8477 GB, free: 4.703 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002851/0.6782, allocations: 222.1 kB / 0.8479 GB, free: 4.484 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005317/0.6788, allocations: 254.8 kB / 0.8482 GB, free: 4.227 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.6789, allocations: 353.9 kB / 0.8485 GB, free: 3.875 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007303/0.6797, allocations: 361.9 kB / 0.8488 GB, free: 3.52 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001032/0.6807, allocations: 0.7463 MB / 0.8496 GB, free: 2.617 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001555/0.6823, allocations: 0.9824 MB / 0.8505 GB, free: 1.523 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.445e-06/0.6823, allocations: 0 / 0.8505 GB, free: 1.523 MB / 0.67 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002699/0.685, allocations: 1.304 MB / 0.8518 GB, free: 216 kB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.6851, allocations: 8 kB / 0.8518 GB, free: 208 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/0.6851, allocations: 8 kB / 0.8518 GB, free: 200 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.854e-05/0.6851, allocations: 16 kB / 0.8518 GB, free: 184 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009708/0.6861, allocations: 252.2 kB / 0.8521 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.092e-05/0.6861, allocations: 27.94 kB / 0.8521 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001716/0.6879, allocations: 170.8 kB / 0.8523 GB, free: 15.74 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/0.688, allocations: 55.97 kB / 0.8523 GB, free: 15.68 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001646/0.6896, allocations: 0.7602 MB / 0.8531 GB, free: 14.92 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009769/0.6906, allocations: 0.7424 MB / 0.8538 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001392/0.692, allocations: 0.9563 MB / 0.8547 GB, free: 12.94 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.987e-06/0.692, allocations: 4 kB / 0.8547 GB, free: 12.94 MB / 0.6856 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002535/0.6946, allocations: 1.268 MB / 0.856 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.6946, allocations: 14.19 kB / 0.856 GB, free: 11.65 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.6946, allocations: 12.05 kB / 0.856 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.6947, allocations: 20.03 kB / 0.856 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008917/0.6955, allocations: 251.6 kB / 0.8563 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.396e-05/0.6956, allocations: 19.94 kB / 0.8563 GB, free: 11.36 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001694/0.6973, allocations: 123.3 kB / 0.8564 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/0.6974, allocations: 55.98 kB / 0.8564 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.0003338/0.6977, allocations: 251.9 kB / 0.8567 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006399/0.6984, allocations: 250.4 kB / 0.8569 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001922/0.7003, allocations: 0.8818 MB / 0.8578 GB, free: 9.785 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.671e-05/0.7003, allocations: 8 kB / 0.8578 GB, free: 9.777 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.7004, allocations: 0 / 0.8578 GB, free: 9.777 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001078/0.7014, allocations: 0.6853 MB / 0.8585 GB, free: 9.062 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004783/0.7062, allocations: 2.586 MB / 0.861 GB, free: 6.402 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.7063, allocations: 0 / 0.861 GB, free: 6.402 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005207/0.7068, allocations: 123.8 kB / 0.8611 GB, free: 6.281 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.076e-06/0.7068, allocations: 4 kB / 0.8611 GB, free: 6.277 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.59e-05/0.7069, allocations: 19.98 kB / 0.8611 GB, free: 6.258 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.253e-06/0.7069, allocations: 7.938 kB / 0.8611 GB, free: 6.25 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.7069, allocations: 0 / 0.8611 GB, free: 6.25 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00214/0.709, allocations: 1.323 MB / 0.8624 GB, free: 4.895 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008729/0.7099, allocations: 431.3 kB / 0.8628 GB, free: 4.453 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004407/0.7103, allocations: 12 kB / 0.8628 GB, free: 4.441 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/0.7115, allocations: 59.86 kB / 0.8629 GB, free: 4.383 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.7116, allocations: 40.45 kB / 0.8629 GB, free: 4.344 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.298e-05/0.7117, allocations: 35.97 kB / 0.863 GB, free: 4.309 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002573/0.7142, allocations: 1.566 MB / 0.8645 GB, free: 2.738 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7143, allocations: 3.938 kB / 0.8645 GB, free: 2.734 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003043/0.7173, allocations: 1.119 MB / 0.8656 GB, free: 1.613 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.001808/0.7191, allocations: 0.7618 MB / 0.8663 GB, free: 0.9844 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.3744/1.094, allocations: 1.347 MB / 0.8677 GB, free: 185.9 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/1.094, allocations: 1.594 kB / 0.8677 GB, free: 185.9 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0007385/1.094, allocations: 329.4 kB / 0.868 GB, free: 185.9 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007082/1.101, allocations: 1.379 MB / 0.8693 GB, free: 185.7 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006564/1.108, allocations: 3.742 MB / 0.873 GB, free: 183.9 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001409/1.109, allocations: 1.59 MB / 0.8745 GB, free: 183.1 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.00235/1.112, allocations: 0.494 MB / 0.875 GB, free: 183.1 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004443/1.112, allocations: 176.4 kB / 0.8752 GB, free: 183 MB / 0.6856 GB Notification: Performance of SimCode: time 6.62e-07/1.112, allocations: 0 / 0.8752 GB, free: 183 MB / 0.6856 GB Notification: Performance of Templates: time 0.06835/1.181, allocations: 44.72 MB / 0.9189 GB, free: 155.4 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)