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.001234/0.001234, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001218/0.001218, allocations: 192.7 kB / 16.14 MB, free: 6.711 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.443/1.443, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.96/0.96, allocations: 135.1 MB / 425.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 72.45 kB / 0.5047 GB, free: 5.738 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2194, allocations: 80.92 MB / 0.5837 GB, free: 4.988 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.4722/0.6916, allocations: 111.9 MB / 0.693 GB, free: 164 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.03706/0.7287, allocations: 20.3 MB / 0.7128 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006248/0.735, allocations: 99.59 kB / 0.7129 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.005392/0.7405, allocations: 1.04 MB / 0.7139 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01446/0.755, allocations: 3.375 MB / 0.7172 GB, free: 15.07 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.009963/0.765, allocations: 2.841 MB / 0.72 GB, free: 13.46 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01628/0.7813, allocations: 9.523 MB / 0.7293 GB, free: 8.66 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005939/0.7873, allocations: 2.132 MB / 0.7314 GB, free: 7.32 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007683/0.795, allocations: 2.398 MB / 0.7337 GB, free: 5.984 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00528/0.8003, allocations: 2.141 MB / 0.7358 GB, free: 3.984 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001168/0.8015, allocations: 120 kB / 0.7359 GB, free: 3.867 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006094/0.8076, allocations: 1.47 MB / 0.7374 GB, free: 2.395 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001581/0.8092, allocations: 0.5601 MB / 0.7379 GB, free: 1.832 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.004084/0.8134, allocations: 1.379 MB / 0.7392 GB, free: 456 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.009498/0.8229, allocations: 4.245 MB / 0.7434 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.023e-05/0.8229, allocations: 0 / 0.7434 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.105e-06/0.823, allocations: 7.938 kB / 0.7434 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001618/0.8231, allocations: 0 / 0.7434 GB, free: 12.18 MB / 0.5606 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.008324/0.8315, allocations: 3.225 MB / 0.7466 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/0.8315, allocations: 8.031 kB / 0.7466 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001423/0.8329, allocations: 324.2 kB / 0.7469 GB, free: 8.562 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00548/0.8385, allocations: 2.154 MB / 0.749 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/0.8386, allocations: 127 kB / 0.7491 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005054/0.8391, allocations: 175.8 kB / 0.7493 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004095/0.8432, allocations: 1.612 MB / 0.7508 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.207e-05/0.8433, allocations: 0 / 0.7508 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002541/0.8436, allocations: 64 kB / 0.7509 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.307e-05/0.8436, allocations: 47.88 kB / 0.7509 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00282/0.8465, allocations: 1.147 MB / 0.7521 GB, free: 3.105 MB / 0.5606 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.01471/0.8612, allocations: 7.881 MB / 0.7598 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009815/0.8622, allocations: 477.9 kB / 0.7602 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006034/0.8628, allocations: 322.9 kB / 0.7605 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007978/0.8636, allocations: 0.7563 MB / 0.7613 GB, free: 9 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.263e-05/0.8637, allocations: 39.12 kB / 0.7613 GB, free: 8.953 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=60): time 2.154e-06/0.8637, allocations: 4 kB / 0.7613 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60): time 0.002856/0.8666, allocations: 0.9881 MB / 0.7623 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/0.8667, allocations: 59.97 kB / 0.7623 GB, free: 7.887 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005713/0.8724, allocations: 2.308 MB / 0.7646 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000376/0.8728, allocations: 49.7 kB / 0.7646 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001555/0.8743, allocations: 1.146 MB / 0.7657 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004267/0.8748, allocations: 220.9 kB / 0.766 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004832/0.8753, allocations: 258.6 kB / 0.7662 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001937/0.8755, allocations: 353.9 kB / 0.7665 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006889/0.8762, allocations: 357.9 kB / 0.7669 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001071/0.8773, allocations: 0.7489 MB / 0.7676 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001607/0.8789, allocations: 0.9824 MB / 0.7686 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.421e-05/0.8789, allocations: 7.938 kB / 0.7686 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.003022/0.8819, allocations: 1.291 MB / 0.7698 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.096e-05/0.882, allocations: 15.94 kB / 0.7699 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.78e-05/0.882, allocations: 8 kB / 0.7699 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.072e-05/0.8821, allocations: 12 kB / 0.7699 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.8831, allocations: 251.6 kB / 0.7701 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.83e-05/0.8831, allocations: 24.39 kB / 0.7701 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002482/0.8856, allocations: 246.2 kB / 0.7704 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/0.8857, allocations: 51.98 kB / 0.7704 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001619/0.8873, allocations: 0.7602 MB / 0.7712 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009299/0.8883, allocations: 0.731 MB / 0.7719 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001345/0.8896, allocations: 0.96 MB / 0.7728 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.979e-06/0.8897, allocations: 0 / 0.7728 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002707/0.8924, allocations: 1.266 MB / 0.7741 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.8924, allocations: 8 kB / 0.7741 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/0.8924, allocations: 20.12 kB / 0.7741 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.8924, allocations: 12 kB / 0.7741 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009388/0.8934, allocations: 247.6 kB / 0.7743 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.249e-05/0.8934, allocations: 23.86 kB / 0.7743 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002181/0.8956, allocations: 187.1 kB / 0.7745 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/0.8957, allocations: 51.98 kB / 0.7746 GB, free: 10.73 MB / 0.5919 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.0004145/0.8962, allocations: 255.9 kB / 0.7748 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007723/0.8969, allocations: 233 kB / 0.775 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002221/0.8992, allocations: 0.8814 MB / 0.7759 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.729e-05/0.8992, allocations: 4 kB / 0.7759 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.8992, allocations: 4 kB / 0.7759 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001151/0.9004, allocations: 0.6853 MB / 0.7766 GB, free: 8.629 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005319/0.9057, allocations: 2.57 MB / 0.7791 GB, free: 5.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.9057, allocations: 4 kB / 0.7791 GB, free: 5.977 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000541/0.9063, allocations: 127.8 kB / 0.7792 GB, free: 5.852 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.386e-06/0.9063, allocations: 4 kB / 0.7792 GB, free: 5.848 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.434e-05/0.9063, allocations: 16 kB / 0.7792 GB, free: 5.832 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.9063, allocations: 0 / 0.7792 GB, free: 5.832 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.9064, allocations: 12.03 kB / 0.7792 GB, free: 5.82 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002275/0.9086, allocations: 1.321 MB / 0.7805 GB, free: 4.469 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009878/0.9096, allocations: 417.9 kB / 0.7809 GB, free: 4.039 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002638/0.9099, allocations: 12 kB / 0.7809 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001101/0.911, allocations: 111.7 kB / 0.7811 GB, free: 3.918 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.9111, allocations: 48.44 kB / 0.7811 GB, free: 3.871 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.439e-05/0.9112, allocations: 27.98 kB / 0.7811 GB, free: 3.844 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002309/0.9135, allocations: 1.554 MB / 0.7826 GB, free: 2.285 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9135, allocations: 0 / 0.7826 GB, free: 2.285 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002979/0.9165, allocations: 1.095 MB / 0.7837 GB, free: 1.188 MB / 0.5919 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.001753/0.9183, allocations: 0.7297 MB / 0.7844 GB, free: 0.6016 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002652/0.9209, allocations: 1.359 MB / 0.7858 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.921, allocations: 0 / 0.7858 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005525/0.9215, allocations: 327 kB / 0.7861 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007541/0.9291, allocations: 1.39 MB / 0.7874 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008426/0.9375, allocations: 4.538 MB / 0.7919 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001851/0.9394, allocations: 1.59 MB / 0.7934 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00311/0.9425, allocations: 494.7 kB / 0.7939 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008496/0.9434, allocations: 171.4 kB / 0.794 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of SimCode: time 1.483e-06/0.9434, allocations: 0 / 0.794 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of Templates: time 0.1076/1.051, allocations: 45.16 MB / 0.8381 GB, free: 10.01 MB / 0.6544 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)