Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve.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.Simplified.Examples.Thermostatic3WayValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve") translateModel(IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 114.9 kB / 16.42 MB, free: 6.5 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.001244/0.001244, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8146/0.8146, allocations: 132.2 MB / 423.4 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 60.22 kB / 0.582 GB, free: 23.85 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1383, allocations: 80.2 MB / 0.6604 GB, free: 10.25 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pump.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve): time 0.04966/0.1879, allocations: 48.17 MB / 0.7074 GB, free: 9.898 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02006/0.2081, allocations: 13.38 MB / 0.7205 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002817/0.2109, allocations: 67.62 kB / 0.7205 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003003/0.2139, allocations: 0.9164 MB / 0.7214 GB, free: 11.5 MB / 0.5606 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/Actuators/Valves/Simplified/Thermostatic3WayValve.mo:34:3-38:63:writable] Warning: Conditional component 'vol' is used in a non-connect context. Notification: Performance of NFTyping.typeBindings: time 0.005854/0.2198, allocations: 2.126 MB / 0.7235 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004582/0.2244, allocations: 1.869 MB / 0.7253 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005635/0.2301, allocations: 4.109 MB / 0.7293 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002465/0.2325, allocations: 1.481 MB / 0.7308 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003731/0.2363, allocations: 1.657 MB / 0.7324 GB, free: 216 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002143/0.2384, allocations: 1.182 MB / 0.7336 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004294/0.2389, allocations: 151.9 kB / 0.7337 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003271/0.2422, allocations: 1.463 MB / 0.7351 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00063/0.2428, allocations: 446.5 kB / 0.7356 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00125/0.2441, allocations: 0.8553 MB / 0.7364 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005649/0.2497, allocations: 2.97 MB / 0.7393 GB, free: 9.133 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2497, allocations: 0 / 0.7393 GB, free: 9.133 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2498, allocations: 0 / 0.7393 GB, free: 9.133 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.74e-05/0.2499, allocations: 0 / 0.7393 GB, free: 9.133 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: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.005013/0.2549, allocations: 2.065 MB / 0.7413 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.2549, allocations: 8.031 kB / 0.7413 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009547/0.2645, allocations: 1.307 MB / 0.7426 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003126/0.2676, allocations: 1.425 MB / 0.744 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-05/0.2677, allocations: 74 kB / 0.7441 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002512/0.268, allocations: 99.98 kB / 0.7442 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005243/0.2732, allocations: 1.593 MB / 0.7457 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.947e-05/0.2733, allocations: 0 / 0.7457 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/0.2734, allocations: 44 kB / 0.7458 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.984e-05/0.2734, allocations: 20 kB / 0.7458 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007874/0.2813, allocations: 1.768 MB / 0.7475 GB, free: 0.5781 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.3489/0.6303, allocations: 6.376 MB / 0.7537 GB, free: 81.47 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007059/0.6374, allocations: 1.387 MB / 0.7551 GB, free: 81.21 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003554/0.641, allocations: 0.7039 MB / 0.7558 GB, free: 81.07 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005166/0.6461, allocations: 3.936 MB / 0.7596 GB, free: 77.63 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.6462, allocations: 37 kB / 0.7596 GB, free: 77.59 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=42): time 3.487e-06/0.6462, allocations: 5.062 kB / 0.7596 GB, free: 77.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=42): time 0.01088/0.6571, allocations: 1.989 MB / 0.7616 GB, free: 77.21 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.6572, allocations: 60.95 kB / 0.7616 GB, free: 77.15 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002147/0.6593, allocations: 1.315 MB / 0.7629 GB, free: 76.64 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.285e-05/0.6594, allocations: 37.61 kB / 0.763 GB, free: 76.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004678/0.6599, allocations: 0.7074 MB / 0.7637 GB, free: 76.09 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001763/0.6601, allocations: 156.3 kB / 0.7638 GB, free: 76 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003632/0.6604, allocations: 195 kB / 0.764 GB, free: 75.91 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.181e-05/0.6605, allocations: 344.2 kB / 0.7643 GB, free: 75.58 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003454/0.664, allocations: 0.7184 MB / 0.765 GB, free: 75.45 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003424/0.6674, allocations: 1.07 MB / 0.7661 GB, free: 74.86 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00623/0.6737, allocations: 1.623 MB / 0.7677 GB, free: 73.96 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.361e-05/0.6737, allocations: 2.969 kB / 0.7677 GB, free: 73.96 MB / 0.5762 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.007781/0.6815, allocations: 1.841 MB / 0.7695 GB, free: 73.07 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.366e-05/0.6816, allocations: 11.06 kB / 0.7695 GB, free: 73.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.461e-05/0.6816, allocations: 11.19 kB / 0.7695 GB, free: 73.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.747e-05/0.6816, allocations: 19.34 kB / 0.7695 GB, free: 73.06 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00209/0.6837, allocations: 393.9 kB / 0.7699 GB, free: 72.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.593e-05/0.6838, allocations: 19.5 kB / 0.7699 GB, free: 72.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002422/0.6862, allocations: 322.5 kB / 0.7702 GB, free: 72.78 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/0.6863, allocations: 51.73 kB / 0.7702 GB, free: 72.77 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003767/0.6901, allocations: 0.9914 MB / 0.7712 GB, free: 72.23 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003438/0.6935, allocations: 1.067 MB / 0.7723 GB, free: 71.42 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006209/0.6998, allocations: 1.623 MB / 0.7738 GB, free: 70.36 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.38e-05/0.6998, allocations: 6.219 kB / 0.7738 GB, free: 70.36 MB / 0.5762 GB Notification: Performance of matching and sorting (n=102) (initialization_lambda0): time 0.007254/0.7071, allocations: 1.84 MB / 0.7756 GB, free: 69.46 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.7071, allocations: 9.625 kB / 0.7757 GB, free: 69.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/0.7071, allocations: 14.22 kB / 0.7757 GB, free: 69.46 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.7072, allocations: 16.59 kB / 0.7757 GB, free: 69.46 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002021/0.7092, allocations: 388.8 kB / 0.7761 GB, free: 69.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.199e-05/0.7092, allocations: 20 kB / 0.7761 GB, free: 69.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002385/0.7116, allocations: 288.2 kB / 0.7763 GB, free: 69.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/0.7117, allocations: 46.48 kB / 0.7764 GB, free: 69.19 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (101): * Single equations (assignments): 100 * Array equations: 1 * 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.0002987/0.712, allocations: 250.8 kB / 0.7766 GB, free: 68.96 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002626/0.7123, allocations: 137.4 kB / 0.7768 GB, free: 68.88 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007029/0.7193, allocations: 1.782 MB / 0.7785 GB, free: 67.98 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006076/0.7254, allocations: 1.555 MB / 0.78 GB, free: 67.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.7255, allocations: 0 / 0.78 GB, free: 67.09 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006703/0.7261, allocations: 332.7 kB / 0.7803 GB, free: 66.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001955/0.7264, allocations: 19.45 kB / 0.7804 GB, free: 66.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001841/0.7282, allocations: 221.6 kB / 0.7806 GB, free: 66.69 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.57e-05/0.7283, allocations: 36.27 kB / 0.7806 GB, free: 66.68 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007591/0.7359, allocations: 1.715 MB / 0.7823 GB, free: 65.82 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009627/0.7456, allocations: 2.515 MB / 0.7847 GB, free: 64.47 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003123/0.7487, allocations: 0.718 MB / 0.7854 GB, free: 64.12 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001232/0.75, allocations: 0.9075 MB / 0.7863 GB, free: 63.62 MB / 0.5762 GB Notification: Performance of Backend: time 4.21e-07/0.75, allocations: 0 / 0.7863 GB, free: 63.62 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00893/0.7589, allocations: 2.37 MB / 0.7886 GB, free: 61.62 MB / 0.5762 GB Notification: Performance of SimCode: time 0.004467/0.7634, allocations: 3.26 MB / 0.7918 GB, free: 58.39 MB / 0.5762 GB Notification: Performance of Templates: time 0.04621/0.8096, allocations: 38.93 MB / 0.8298 GB, free: 19.83 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve.pipe 2>&1)