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.001191/0.001191, allocations: 102.9 kB / 16.35 MB, free: 5.875 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.001118/0.001119, allocations: 191 kB / 17.29 MB, free: 5.516 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.369/1.369, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8141/0.8141, allocations: 135.1 MB / 426.3 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 63.91 kB / 0.5068 GB, free: 7.617 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4305/0.4318, allocations: 80.91 MB / 0.5858 GB, free: 25.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve): time 0.0434/0.4753, allocations: 48.16 MB / 0.6328 GB, free: 10.27 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02155/0.4969, allocations: 13.39 MB / 0.6459 GB, free: 12.84 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003109/0.5001, allocations: 67.62 kB / 0.6459 GB, free: 12.78 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002798/0.503, allocations: 0.9143 MB / 0.6468 GB, free: 11.86 MB / 494.1 MB [/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.006161/0.5091, allocations: 2.063 MB / 0.6489 GB, free: 9.789 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004878/0.514, allocations: 1.874 MB / 0.6507 GB, free: 7.93 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.006779/0.5208, allocations: 4.093 MB / 0.6547 GB, free: 3.824 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002748/0.5236, allocations: 1.484 MB / 0.6561 GB, free: 2.312 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004699/0.5283, allocations: 1.64 MB / 0.6577 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002779/0.5311, allocations: 1.179 MB / 0.6589 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006183/0.5317, allocations: 148 kB / 0.659 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004178/0.5359, allocations: 1.463 MB / 0.6605 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008554/0.5368, allocations: 450.5 kB / 0.6609 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001874/0.5387, allocations: 0.8553 MB / 0.6617 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005247/0.5439, allocations: 2.945 MB / 0.6646 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.544, allocations: 0 / 0.6646 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.873e-06/0.544, allocations: 0 / 0.6646 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001023/0.5441, allocations: 0 / 0.6646 GB, free: 9.625 MB / 0.4981 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.005048/0.5491, allocations: 2.013 MB / 0.6666 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.5492, allocations: 9.109 kB / 0.6666 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008735/0.5579, allocations: 1.294 MB / 0.6678 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003389/0.5613, allocations: 1.409 MB / 0.6692 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001152/0.5615, allocations: 82 kB / 0.6693 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003406/0.5618, allocations: 96 kB / 0.6694 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00545/0.5673, allocations: 1.589 MB / 0.6709 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.058e-05/0.5673, allocations: 0 / 0.6709 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001376/0.5675, allocations: 39.98 kB / 0.671 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.199e-05/0.5675, allocations: 24 kB / 0.671 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007408/0.5749, allocations: 1.772 MB / 0.6727 GB, free: 1.148 MB / 0.4981 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.01436/0.5893, allocations: 6.387 MB / 0.679 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006352/0.5957, allocations: 1.391 MB / 0.6803 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003086/0.5988, allocations: 0.6928 MB / 0.681 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005482/0.6043, allocations: 3.932 MB / 0.6848 GB, free: 3.863 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.716e-05/0.6044, allocations: 50.48 kB / 0.6849 GB, free: 3.805 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=42): time 2.895e-06/0.6044, allocations: 0 / 0.6849 GB, free: 3.805 MB / 0.5137 GB Notification: Performance of matching and sorting (n=42): time 0.009589/0.614, allocations: 1.979 MB / 0.6868 GB, free: 1.816 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.358e-05/0.6141, allocations: 59.41 kB / 0.6869 GB, free: 1.746 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002095/0.6162, allocations: 1.309 MB / 0.6881 GB, free: 436 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001342/0.6163, allocations: 33.7 kB / 0.6882 GB, free: 396 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005885/0.6169, allocations: 0.6988 MB / 0.6889 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001748/0.6171, allocations: 149.9 kB / 0.689 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000344/0.6174, allocations: 198.4 kB / 0.6892 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.6176, allocations: 345.8 kB / 0.6895 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003337/0.6209, allocations: 0.7149 MB / 0.6902 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003518/0.6245, allocations: 1.071 MB / 0.6913 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006283/0.6308, allocations: 1.624 MB / 0.6929 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-05/0.6308, allocations: 4 kB / 0.6929 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.00732/0.6381, allocations: 1.837 MB / 0.6947 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/0.6382, allocations: 8.344 kB / 0.6947 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.11e-05/0.6382, allocations: 16 kB / 0.6947 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.917e-05/0.6382, allocations: 16 kB / 0.6947 GB, free: 9.363 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00204/0.6403, allocations: 387.4 kB / 0.6951 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.544e-05/0.6403, allocations: 23.92 kB / 0.6951 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00232/0.6427, allocations: 323.1 kB / 0.6954 GB, free: 8.645 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001296/0.6428, allocations: 51.97 kB / 0.6954 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003725/0.6465, allocations: 0.9856 MB / 0.6964 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003638/0.6502, allocations: 1.071 MB / 0.6974 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006336/0.6565, allocations: 1.62 MB / 0.699 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.08e-05/0.6566, allocations: 0 / 0.699 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of matching and sorting (n=102) (initialization_lambda0): time 0.007495/0.6641, allocations: 1.829 MB / 0.7008 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.6641, allocations: 18.12 kB / 0.7008 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.373e-05/0.6642, allocations: 12 kB / 0.7008 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.6642, allocations: 12.34 kB / 0.7009 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001967/0.6662, allocations: 395.4 kB / 0.7012 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.068e-05/0.6662, allocations: 27.86 kB / 0.7013 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002376/0.6686, allocations: 283.7 kB / 0.7015 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/0.6687, allocations: 55.97 kB / 0.7016 GB, free: 1.973 MB / 0.5294 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.0003009/0.669, allocations: 240 kB / 0.7018 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002481/0.6693, allocations: 138.2 kB / 0.7019 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007113/0.6764, allocations: 1.782 MB / 0.7037 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-05/0.6764, allocations: 8 kB / 0.7037 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.6764, allocations: 0 / 0.7037 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006292/0.6827, allocations: 1.556 MB / 0.7052 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008862/0.6916, allocations: 3.019 MB / 0.7082 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/0.6917, allocations: 128 / 0.7082 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001727/0.6934, allocations: 283.6 kB / 0.7084 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.327e-06/0.6934, allocations: 8 kB / 0.7084 GB, free: 10.81 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.859e-05/0.6935, allocations: 23.97 kB / 0.7085 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.6935, allocations: 4 kB / 0.7085 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.6935, allocations: 0 / 0.7085 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01025/0.7038, allocations: 2.448 MB / 0.7109 GB, free: 8.301 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008713/0.7047, allocations: 335 kB / 0.7112 GB, free: 7.953 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001857/0.7049, allocations: 12 kB / 0.7112 GB, free: 7.941 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001804/0.7067, allocations: 215.7 kB / 0.7114 GB, free: 7.73 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.662e-05/0.7068, allocations: 48.25 kB / 0.7114 GB, free: 7.684 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.819e-05/0.7069, allocations: 27.97 kB / 0.7115 GB, free: 7.656 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001422/0.7083, allocations: 0.8996 MB / 0.7123 GB, free: 6.758 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7083, allocations: 4 kB / 0.7123 GB, free: 6.754 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002126/0.7105, allocations: 0.7721 MB / 0.7131 GB, free: 5.98 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (thermostatic3WayValve.vol.dynBal.U,thermostatic3WayValve.k_state,T_out.T) * 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 (55): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.001094/0.7116, allocations: 0.5282 MB / 0.7136 GB, free: 5.469 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01026/0.7218, allocations: 2.48 MB / 0.716 GB, free: 2.996 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.7219, allocations: 4.062 kB / 0.716 GB, free: 2.992 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003268/0.7251, allocations: 0.7481 MB / 0.7168 GB, free: 2.242 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002822/0.728, allocations: 0.7206 MB / 0.7175 GB, free: 1.57 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006197/0.7342, allocations: 2.699 MB / 0.7201 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007917/0.735, allocations: 1.221 MB / 0.7213 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001606/0.7366, allocations: 415.1 kB / 0.7217 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003619/0.737, allocations: 123.3 kB / 0.7218 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of SimCode: time 6.91e-07/0.737, allocations: 0 / 0.7218 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of Templates: time 0.3372/1.074, allocations: 30.52 MB / 0.7516 GB, free: 155.8 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve.pipe 2>&1)