Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Simplified.Examples.Thermostatic3WayValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.00113/0.00113, allocations: 109 kB / 16.41 MB, free: 6.461 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.001181/0.001182, allocations: 192.3 kB / 17.35 MB, free: 5.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.312/1.312, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7979/0.7979, allocations: 135.1 MB / 426.4 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 64.56 kB / 0.5863 GB, free: 21.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1452, allocations: 80.93 MB / 0.6653 GB, free: 5.781 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.04907/0.1944, allocations: 48.17 MB / 0.7124 GB, free: 5.445 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01929/0.2137, allocations: 13.38 MB / 0.7254 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002439/0.2162, allocations: 67.62 kB / 0.7255 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002887/0.2191, allocations: 0.9125 MB / 0.7264 GB, free: 7.035 MB / 0.5606 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.005627/0.2247, allocations: 2.122 MB / 0.7285 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004455/0.2292, allocations: 1.866 MB / 0.7303 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005427/0.2346, allocations: 4.112 MB / 0.7343 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002325/0.237, allocations: 1.481 MB / 0.7358 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003606/0.2406, allocations: 1.66 MB / 0.7374 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001985/0.2426, allocations: 1.19 MB / 0.7385 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004101/0.2431, allocations: 148 kB / 0.7387 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003122/0.2462, allocations: 1.455 MB / 0.7401 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006603/0.2469, allocations: 454.5 kB / 0.7405 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001371/0.2482, allocations: 0.8513 MB / 0.7414 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005205/0.2535, allocations: 2.966 MB / 0.7443 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.2535, allocations: 0 / 0.7443 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.345e-06/0.2535, allocations: 0 / 0.7443 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.607e-05/0.2536, allocations: 0 / 0.7443 GB, free: 4.672 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.00511/0.2587, allocations: 2.069 MB / 0.7463 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.2588, allocations: 9.109 kB / 0.7463 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01018/0.269, allocations: 1.299 MB / 0.7476 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2852/0.5543, allocations: 1.427 MB / 0.749 GB, free: 79.9 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001044/0.5544, allocations: 72.44 kB / 0.749 GB, free: 79.9 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002573/0.5547, allocations: 99.08 kB / 0.7491 GB, free: 79.9 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005884/0.5606, allocations: 1.589 MB / 0.7507 GB, free: 79.75 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.022e-05/0.5606, allocations: 3.625 kB / 0.7507 GB, free: 79.75 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001174/0.5607, allocations: 40.2 kB / 0.7507 GB, free: 79.75 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.167e-05/0.5608, allocations: 22.5 kB / 0.7507 GB, free: 79.75 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008734/0.5695, allocations: 1.775 MB / 0.7525 GB, free: 79.53 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.01568/0.5852, allocations: 6.371 MB / 0.7587 GB, free: 75.84 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007639/0.5929, allocations: 1.387 MB / 0.76 GB, free: 75.58 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003791/0.5967, allocations: 0.7021 MB / 0.7607 GB, free: 75.45 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004478/0.6012, allocations: 3.945 MB / 0.7646 GB, free: 71.97 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.6012, allocations: 36.97 kB / 0.7646 GB, free: 71.93 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=42): time 2.485e-06/0.6012, allocations: 0 / 0.7646 GB, free: 71.93 MB / 0.5762 GB Notification: Performance of matching and sorting (n=42): time 0.01038/0.6116, allocations: 1.999 MB / 0.7666 GB, free: 71.41 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.158e-05/0.6117, allocations: 58.67 kB / 0.7666 GB, free: 71.35 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001687/0.6134, allocations: 1.31 MB / 0.7679 GB, free: 70.64 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.545e-05/0.6135, allocations: 37.58 kB / 0.7679 GB, free: 70.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003945/0.6139, allocations: 0.7086 MB / 0.7686 GB, free: 70.02 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/0.614, allocations: 160.5 kB / 0.7688 GB, free: 69.91 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002908/0.6143, allocations: 196 kB / 0.769 GB, free: 69.79 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.901e-05/0.6144, allocations: 337.7 kB / 0.7693 GB, free: 69.46 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003618/0.618, allocations: 0.7184 MB / 0.77 GB, free: 69.11 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0037/0.6217, allocations: 1.065 MB / 0.771 GB, free: 68.31 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006604/0.6283, allocations: 1.626 MB / 0.7726 GB, free: 67.25 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.5e-05/0.6284, allocations: 6.531 kB / 0.7726 GB, free: 67.24 MB / 0.5762 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.008174/0.6366, allocations: 1.842 MB / 0.7744 GB, free: 66.34 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.835e-05/0.6366, allocations: 10.34 kB / 0.7744 GB, free: 66.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.223e-05/0.6366, allocations: 14.66 kB / 0.7745 GB, free: 66.34 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.397e-05/0.6367, allocations: 15.72 kB / 0.7745 GB, free: 66.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002135/0.6388, allocations: 393.6 kB / 0.7748 GB, free: 66.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.928e-05/0.6389, allocations: 21.53 kB / 0.7749 GB, free: 66.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002591/0.6415, allocations: 323.2 kB / 0.7752 GB, free: 66.06 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/0.6416, allocations: 52.23 kB / 0.7752 GB, free: 66.05 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004024/0.6456, allocations: 0.991 MB / 0.7762 GB, free: 65.52 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003633/0.6493, allocations: 1.065 MB / 0.7772 GB, free: 64.71 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006544/0.6558, allocations: 1.625 MB / 0.7788 GB, free: 63.64 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.154e-05/0.6559, allocations: 3.5 kB / 0.7788 GB, free: 63.64 MB / 0.5762 GB Notification: Performance of matching and sorting (n=102) (initialization_lambda0): time 0.007688/0.6636, allocations: 1.844 MB / 0.7806 GB, free: 62.74 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/0.6636, allocations: 10.78 kB / 0.7806 GB, free: 62.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.941e-05/0.6636, allocations: 14.62 kB / 0.7806 GB, free: 62.74 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.6637, allocations: 16.66 kB / 0.7807 GB, free: 62.74 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002156/0.6658, allocations: 388.7 kB / 0.781 GB, free: 62.61 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.26e-05/0.6659, allocations: 19.06 kB / 0.781 GB, free: 62.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002488/0.6684, allocations: 287.1 kB / 0.7813 GB, free: 62.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/0.6685, allocations: 57.31 kB / 0.7814 GB, free: 62.46 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.0003171/0.6688, allocations: 239.8 kB / 0.7816 GB, free: 62.24 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002492/0.6691, allocations: 142.6 kB / 0.7817 GB, free: 62.16 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007403/0.6765, allocations: 1.784 MB / 0.7835 GB, free: 61.25 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006461/0.683, allocations: 1.56 MB / 0.785 GB, free: 60.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.683, allocations: 0 / 0.785 GB, free: 60.36 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000611/0.6836, allocations: 336.2 kB / 0.7853 GB, free: 60.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001909/0.6838, allocations: 11.91 kB / 0.7853 GB, free: 60.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001894/0.6857, allocations: 210.1 kB / 0.7855 GB, free: 59.97 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.557e-05/0.6858, allocations: 40.23 kB / 0.7856 GB, free: 59.95 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008162/0.694, allocations: 1.715 MB / 0.7873 GB, free: 59.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01047/0.7045, allocations: 2.516 MB / 0.7897 GB, free: 56.98 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003381/0.7079, allocations: 0.7185 MB / 0.7904 GB, free: 56.27 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001362/0.7093, allocations: 0.8996 MB / 0.7913 GB, free: 55.37 MB / 0.5762 GB Notification: Performance of Backend: time 1.152e-06/0.7093, allocations: 0 / 0.7913 GB, free: 55.37 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009618/0.7189, allocations: 2.39 MB / 0.7936 GB, free: 53.13 MB / 0.5762 GB Notification: Performance of SimCode: time 0.004756/0.7237, allocations: 3.245 MB / 0.7968 GB, free: 49.89 MB / 0.5762 GB Notification: Performance of Templates: time 0.04578/0.7695, allocations: 38.93 MB / 0.8348 GB, free: 11.32 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve.pipe 2>&1)