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.0009916/0.0009913, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001047/0.001047, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.173/1.173, allocations: 135.3 MB / 426.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003963/0.0003963, allocations: 15.98 kB / 0.507 GB, free: 5.137 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.1917, allocations: 82.3 MB / 0.5874 GB, free: 3 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve): time 0.3879/0.5796, allocations: 44.24 MB / 0.6306 GB, free: 28.67 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01805/0.5977, allocations: 12.52 MB / 0.6428 GB, free: 19.75 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003114/0.6009, allocations: 54.34 kB / 0.6429 GB, free: 19.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003385/0.6043, allocations: 0.6102 MB / 0.6435 GB, free: 19.4 MB / 0.4981 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.006665/0.611, allocations: 1.701 MB / 0.6451 GB, free: 18.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004861/0.6159, allocations: 1.372 MB / 0.6465 GB, free: 17.83 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006732/0.6226, allocations: 4.673 MB / 0.651 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002233/0.6249, allocations: 1.073 MB / 0.6521 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00312/0.628, allocations: 1.305 MB / 0.6533 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001906/0.63, allocations: 1.101 MB / 0.6544 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001899/0.6302, allocations: 58.94 kB / 0.6545 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002927/0.6331, allocations: 1.053 MB / 0.6555 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004482/0.6336, allocations: 345.7 kB / 0.6558 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000636/0.6342, allocations: 336 kB / 0.6562 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003676/0.6379, allocations: 2.14 MB / 0.6582 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.6379, allocations: 0 / 0.6582 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.475e-06/0.6379, allocations: 0 / 0.6582 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.322e-05/0.638, allocations: 1.031 kB / 0.6582 GB, free: 13.48 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.00395/0.6419, allocations: 1.741 MB / 0.6599 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.642, allocations: 9.688 kB / 0.66 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009296/0.6513, allocations: 1.628 MB / 0.6615 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003705/0.655, allocations: 1.37 MB / 0.6629 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003576/0.6554, allocations: 138.4 kB / 0.663 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002057/0.6556, allocations: 101.9 kB / 0.6631 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005677/0.6613, allocations: 1.737 MB / 0.6648 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.823e-05/0.6614, allocations: 5.141 kB / 0.6648 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001187/0.6615, allocations: 45.44 kB / 0.6649 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.448e-05/0.6615, allocations: 22.09 kB / 0.6649 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007995/0.6695, allocations: 2.09 MB / 0.6669 GB, free: 10.25 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.01514/0.6847, allocations: 6.727 MB / 0.6735 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006741/0.6914, allocations: 1.715 MB / 0.6752 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003219/0.6947, allocations: 0.8567 MB / 0.676 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00468/0.6994, allocations: 3.587 MB / 0.6795 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.6994, allocations: 37.34 kB / 0.6795 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005133/0.7, allocations: 71.42 kB / 0.6796 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=45): time 2.063e-06/0.7, allocations: 0 / 0.6796 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.009851/0.7098, allocations: 2.486 MB / 0.682 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.7099, allocations: 67.25 kB / 0.6821 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002198/0.7121, allocations: 1.359 MB / 0.6834 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001737/0.7123, allocations: 45.36 kB / 0.6835 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005371/0.7128, allocations: 0.66 MB / 0.6841 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001936/0.713, allocations: 162.5 kB / 0.6843 GB, free: 416 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.163e-05/0.7131, allocations: 15.19 kB / 0.6843 GB, free: 404 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.11e-05/0.7132, allocations: 336.8 kB / 0.6846 GB, free: 68 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003599/0.7168, allocations: 0.8806 MB / 0.6855 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003767/0.7206, allocations: 1.156 MB / 0.6866 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003627/0.7242, allocations: 0.8652 MB / 0.6874 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.51e-05/0.7243, allocations: 3.156 kB / 0.6874 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.008306/0.7326, allocations: 2.105 MB / 0.6895 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003304/0.733, allocations: 319.3 kB / 0.6898 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.224e-05/0.733, allocations: 10.98 kB / 0.6898 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.79e-05/0.733, allocations: 13.19 kB / 0.6898 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002211/0.7352, allocations: 451.7 kB / 0.6903 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.098e-05/0.7353, allocations: 15.72 kB / 0.6903 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003124/0.7384, allocations: 370.8 kB / 0.6906 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001953/0.7386, allocations: 49.23 kB / 0.6907 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.7387, allocations: 3.688 kB / 0.6907 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007225/0.7459, allocations: 1.898 MB / 0.6925 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.906e-05/0.7459, allocations: 11.16 kB / 0.6925 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/0.746, allocations: 12.81 kB / 0.6926 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001943/0.7479, allocations: 435.6 kB / 0.693 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.873e-05/0.748, allocations: 23.58 kB / 0.693 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002785/0.7508, allocations: 339.9 kB / 0.6933 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001946/0.751, allocations: 43.25 kB / 0.6934 GB, free: 11.88 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (90): * Single equations (assignments): 89 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001247/0.7522, allocations: 429.4 kB / 0.6938 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005871/0.7528, allocations: 139.8 kB / 0.6939 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00795/0.7608, allocations: 2.127 MB / 0.696 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.718e-05/0.7608, allocations: 14.7 kB / 0.696 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.7609, allocations: 3.938 kB / 0.696 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006369/0.7672, allocations: 1.881 MB / 0.6978 GB, free: 9.496 MB / 0.5137 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 postOpt removeSimpleEquations (simulation): time 0.0107/0.778, allocations: 3.446 MB / 0.7012 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.478e-05/0.7781, allocations: 4.094 kB / 0.7012 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001933/0.78, allocations: 367.7 kB / 0.7016 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.156e-05/0.78, allocations: 11.95 kB / 0.7016 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001036/0.7802, allocations: 27.97 kB / 0.7016 GB, free: 6.309 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.043e-05/0.7802, allocations: 7.938 kB / 0.7016 GB, free: 6.301 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/0.7802, allocations: 4 kB / 0.7016 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01107/0.7913, allocations: 2.963 MB / 0.7045 GB, free: 3.293 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00138/0.7927, allocations: 351 kB / 0.7048 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005956/0.7933, allocations: 15.95 kB / 0.7048 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002448/0.7958, allocations: 315.6 kB / 0.7051 GB, free: 2.605 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.7959, allocations: 44.38 kB / 0.7052 GB, free: 2.562 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001209/0.796, allocations: 27.97 kB / 0.7052 GB, free: 2.535 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002017/0.798, allocations: 0.9516 MB / 0.7061 GB, free: 1.586 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7981, allocations: 0 / 0.7061 GB, free: 1.586 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003337/0.8014, allocations: 0.7605 MB / 0.7069 GB, free: 0.8242 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (58): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001431/0.8028, allocations: 0.493 MB / 0.7074 GB, free: 356 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01106/0.8139, allocations: 2.897 MB / 0.7102 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/0.814, allocations: 0 / 0.7102 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003381/0.8173, allocations: 0.9253 MB / 0.7111 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004605/0.822, allocations: 0.7403 MB / 0.7118 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008535/0.8305, allocations: 3.416 MB / 0.7152 GB, free: 8.348 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001066/0.8316, allocations: 1.218 MB / 0.7164 GB, free: 7.102 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002344/0.834, allocations: 410 kB / 0.7167 GB, free: 6.715 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000536/0.8345, allocations: 135.4 kB / 0.7169 GB, free: 6.582 MB / 0.5294 GB Notification: Performance of SimCode: time 9.92e-07/0.8345, allocations: 4 kB / 0.7169 GB, free: 6.578 MB / 0.5294 GB Notification: Performance of Templates: time 0.05701/0.8916, allocations: 30.96 MB / 0.7471 GB, free: 8.016 MB / 0.5606 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)