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.006596/0.006596, allocations: 96.31 kB / 15.73 MB, free: 6.035 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.00165/0.00165, allocations: 195.6 kB / 16.67 MB, free: 5.961 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.462/1.462, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9727/0.9727, allocations: 135.1 MB / 425.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 63.91 kB / 0.5856 GB, free: 3.32 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5145/0.5159, allocations: 80.92 MB / 0.6647 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve): time 0.04804/0.564, allocations: 48.17 MB / 0.7117 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02095/0.5849, allocations: 13.38 MB / 0.7248 GB, free: 4.047 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003004/0.588, allocations: 71.56 kB / 0.7248 GB, free: 3.977 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003065/0.5911, allocations: 0.9143 MB / 0.7257 GB, free: 3.059 MB / 0.545 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.006349/0.5975, allocations: 2.075 MB / 0.7278 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00525/0.6028, allocations: 1.847 MB / 0.7296 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006478/0.6093, allocations: 4.108 MB / 0.7336 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002799/0.6121, allocations: 1.488 MB / 0.735 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004026/0.6161, allocations: 1.616 MB / 0.7366 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002205/0.6183, allocations: 1.186 MB / 0.7378 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004933/0.6189, allocations: 152 kB / 0.7379 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00376/0.6226, allocations: 1.463 MB / 0.7393 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006769/0.6233, allocations: 450.5 kB / 0.7398 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001554/0.6249, allocations: 0.8592 MB / 0.7406 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.006219/0.6311, allocations: 2.955 MB / 0.7435 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.6311, allocations: 0 / 0.7435 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.944e-06/0.6311, allocations: 0 / 0.7435 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.116e-05/0.6312, allocations: 4 kB / 0.7435 GB, free: 0.8008 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: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.004795/0.636, allocations: 2.062 MB / 0.7455 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.6361, allocations: 8.031 kB / 0.7455 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009547/0.6456, allocations: 1.303 MB / 0.7468 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003565/0.6492, allocations: 1.438 MB / 0.7482 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.603e-05/0.6494, allocations: 70 kB / 0.7483 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003155/0.6497, allocations: 104 kB / 0.7484 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005869/0.6556, allocations: 1.589 MB / 0.7499 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.1e-05/0.6556, allocations: 3.938 kB / 0.7499 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001277/0.6558, allocations: 40 kB / 0.7499 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.945e-05/0.6558, allocations: 24 kB / 0.75 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008277/0.6641, allocations: 1.772 MB / 0.7517 GB, free: 8.234 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.01653/0.6806, allocations: 6.388 MB / 0.7579 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007106/0.6878, allocations: 1.388 MB / 0.7593 GB, free: 112 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003646/0.6915, allocations: 0.6928 MB / 0.76 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005882/0.6974, allocations: 3.952 MB / 0.7638 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.6974, allocations: 38.56 kB / 0.7639 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=42): time 2.345e-06/0.6975, allocations: 0 / 0.7639 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42): time 0.01084/0.7083, allocations: 1.994 MB / 0.7658 GB, free: 8.891 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.451e-05/0.7084, allocations: 55.41 kB / 0.7659 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002546/0.7109, allocations: 1.313 MB / 0.7672 GB, free: 7.5 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.551e-05/0.7111, allocations: 37.7 kB / 0.7672 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006287/0.7117, allocations: 0.7041 MB / 0.7679 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002105/0.7119, allocations: 158.7 kB / 0.768 GB, free: 6.59 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003683/0.7123, allocations: 194.5 kB / 0.7682 GB, free: 6.395 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.7124, allocations: 337.9 kB / 0.7685 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003789/0.7162, allocations: 0.7227 MB / 0.7692 GB, free: 5.332 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004162/0.7204, allocations: 1.071 MB / 0.7703 GB, free: 4.105 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006948/0.7274, allocations: 1.624 MB / 0.7719 GB, free: 2.324 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.259e-05/0.7274, allocations: 4 kB / 0.7719 GB, free: 2.32 MB / 0.5919 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.01043/0.7378, allocations: 1.842 MB / 0.7737 GB, free: 484 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.699e-05/0.7379, allocations: 8 kB / 0.7737 GB, free: 476 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.63e-05/0.7379, allocations: 19.98 kB / 0.7737 GB, free: 456 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.266e-05/0.738, allocations: 16 kB / 0.7737 GB, free: 440 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002253/0.7402, allocations: 387.8 kB / 0.7741 GB, free: 52 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.129e-05/0.7403, allocations: 31.86 kB / 0.7741 GB, free: 20 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002741/0.743, allocations: 315.5 kB / 0.7744 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001865/0.7432, allocations: 51.97 kB / 0.7745 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004331/0.7476, allocations: 0.9973 MB / 0.7754 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004062/0.7517, allocations: 1.063 MB / 0.7765 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007083/0.7588, allocations: 1.62 MB / 0.7781 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.091e-05/0.7588, allocations: 8 kB / 0.7781 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of matching and sorting (n=102) (initialization_lambda0): time 0.008382/0.7672, allocations: 1.842 MB / 0.7799 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.7673, allocations: 12 kB / 0.7799 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.221e-05/0.7673, allocations: 11.98 kB / 0.7799 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.7673, allocations: 16 kB / 0.7799 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002238/0.7696, allocations: 391.7 kB / 0.7803 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.012e-05/0.7696, allocations: 23.92 kB / 0.7803 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002544/0.7722, allocations: 283.9 kB / 0.7806 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001485/0.7723, allocations: 55.97 kB / 0.7806 GB, free: 9.023 MB / 0.6075 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.0003102/0.7726, allocations: 232 kB / 0.7808 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004224/0.7731, allocations: 143 kB / 0.781 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008135/0.7812, allocations: 1.793 MB / 0.7827 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.618e-05/0.7813, allocations: 12 kB / 0.7827 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.7813, allocations: 4 kB / 0.7827 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007113/0.7884, allocations: 1.556 MB / 0.7843 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009827/0.7983, allocations: 3.019 MB / 0.7872 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.7983, allocations: 0 / 0.7872 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001972/0.8003, allocations: 283.7 kB / 0.7875 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.641e-05/0.8003, allocations: 7.984 kB / 0.7875 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.812e-05/0.8004, allocations: 19.98 kB / 0.7875 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.618e-06/0.8004, allocations: 4 kB / 0.7875 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.8004, allocations: 4 kB / 0.7875 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01136/0.8118, allocations: 2.461 MB / 0.7899 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008894/0.8127, allocations: 331.9 kB / 0.7902 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003553/0.8131, allocations: 15.98 kB / 0.7903 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0021/0.8152, allocations: 203.7 kB / 0.7905 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.8153, allocations: 44.31 kB / 0.7905 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.149e-05/0.8154, allocations: 31.97 kB / 0.7905 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001692/0.8171, allocations: 0.9035 MB / 0.7914 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.764e-06/0.8171, allocations: 0 / 0.7914 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002522/0.8197, allocations: 0.7874 MB / 0.7922 GB, free: 13 MB / 0.6231 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.001457/0.8211, allocations: 0.5351 MB / 0.7927 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01201/0.8332, allocations: 2.472 MB / 0.7951 GB, free: 10 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/0.8332, allocations: 0 / 0.7951 GB, free: 10 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.003749/0.837, allocations: 0.7484 MB / 0.7958 GB, free: 9.25 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003613/0.8406, allocations: 0.7251 MB / 0.7966 GB, free: 8.559 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007618/0.8482, allocations: 2.739 MB / 0.7992 GB, free: 5.773 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00109/0.8494, allocations: 1.214 MB / 0.8004 GB, free: 4.531 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001887/0.8513, allocations: 410.9 kB / 0.8008 GB, free: 4.141 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004566/0.8517, allocations: 127.4 kB / 0.8009 GB, free: 4.016 MB / 0.6231 GB Notification: Performance of SimCode: time 8.22e-07/0.8518, allocations: 4 kB / 0.8009 GB, free: 4.012 MB / 0.6231 GB Notification: Performance of Templates: time 0.05215/0.9039, allocations: 30.72 MB / 0.8309 GB, free: 5.668 MB / 0.6544 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)