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.001221/0.001221, allocations: 108 kB / 16.41 MB, free: 6.027 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.00127/0.00127, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.373/1.373, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8407/0.8407, allocations: 135.1 MB / 426.3 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 67.2 kB / 0.5863 GB, free: 21.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1623, allocations: 80.92 MB / 0.6653 GB, free: 5.785 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.05144/0.2138, allocations: 48.18 MB / 0.7124 GB, free: 5.438 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02017/0.234, allocations: 13.38 MB / 0.7254 GB, free: 8.016 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002907/0.237, allocations: 67.62 kB / 0.7255 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002804/0.2398, allocations: 0.9086 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.005989/0.2458, allocations: 2.067 MB / 0.7284 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004911/0.2507, allocations: 1.865 MB / 0.7302 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006495/0.2572, allocations: 4.103 MB / 0.7342 GB, free: 15 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002411/0.2597, allocations: 1.488 MB / 0.7357 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004137/0.2638, allocations: 1.649 MB / 0.7373 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002071/0.2659, allocations: 1.178 MB / 0.7384 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002661/0.2662, allocations: 152 kB / 0.7386 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003352/0.2696, allocations: 1.459 MB / 0.74 GB, free: 9.023 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005585/0.2701, allocations: 450.5 kB / 0.7404 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001163/0.2713, allocations: 0.8514 MB / 0.7413 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004826/0.2761, allocations: 2.956 MB / 0.7442 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2762, allocations: 0 / 0.7442 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2762, allocations: 0 / 0.7442 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.14e-05/0.2762, allocations: 0 / 0.7442 GB, free: 4.762 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.003556/0.2798, allocations: 2.002 MB / 0.7461 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.2798, allocations: 13.11 kB / 0.7461 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01009/0.2899, allocations: 1.294 MB / 0.7474 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4398/0.7298, allocations: 1.421 MB / 0.7488 GB, free: 80.39 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001497/0.73, allocations: 74.73 kB / 0.7489 GB, free: 80.39 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004224/0.7304, allocations: 96.94 kB / 0.7489 GB, free: 80.39 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006383/0.7368, allocations: 1.587 MB / 0.7505 GB, free: 80.22 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.959e-05/0.7369, allocations: 3.406 kB / 0.7505 GB, free: 80.22 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000121/0.737, allocations: 40.72 kB / 0.7505 GB, free: 80.19 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.893e-05/0.737, allocations: 23.23 kB / 0.7506 GB, free: 80.19 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008793/0.7458, allocations: 1.774 MB / 0.7523 GB, free: 79.82 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.01659/0.7625, allocations: 6.372 MB / 0.7585 GB, free: 76.13 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007939/0.7704, allocations: 1.382 MB / 0.7599 GB, free: 75.88 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004082/0.7745, allocations: 0.7035 MB / 0.7606 GB, free: 75.74 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005778/0.7804, allocations: 3.941 MB / 0.7644 GB, free: 72.27 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.676e-05/0.7805, allocations: 36.56 kB / 0.7644 GB, free: 72.23 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=42): time 4.128e-06/0.7805, allocations: 0.5312 kB / 0.7644 GB, free: 72.23 MB / 0.5762 GB Notification: Performance of matching and sorting (n=42): time 0.0112/0.7917, allocations: 1.987 MB / 0.7664 GB, free: 71.74 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.7918, allocations: 64.61 kB / 0.7664 GB, free: 71.67 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002153/0.7939, allocations: 1.308 MB / 0.7677 GB, free: 70.96 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001264/0.7941, allocations: 40.64 kB / 0.7678 GB, free: 70.92 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005003/0.7946, allocations: 0.693 MB / 0.7684 GB, free: 70.31 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001741/0.7948, allocations: 158 kB / 0.7686 GB, free: 70.18 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003301/0.7951, allocations: 195.5 kB / 0.7688 GB, free: 70.06 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.509e-05/0.7952, allocations: 337.2 kB / 0.7691 GB, free: 69.73 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00379/0.799, allocations: 0.7243 MB / 0.7698 GB, free: 69.38 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003907/0.8029, allocations: 1.066 MB / 0.7708 GB, free: 68.57 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00713/0.8101, allocations: 1.62 MB / 0.7724 GB, free: 67.52 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.838e-05/0.8101, allocations: 1.75 kB / 0.7724 GB, free: 67.52 MB / 0.5762 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.008558/0.8187, allocations: 1.834 MB / 0.7742 GB, free: 66.62 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.324e-05/0.8188, allocations: 9.438 kB / 0.7742 GB, free: 66.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.925e-05/0.8188, allocations: 11.22 kB / 0.7742 GB, free: 66.62 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.986e-05/0.8188, allocations: 21.3 kB / 0.7743 GB, free: 66.62 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002283/0.8211, allocations: 390.5 kB / 0.7746 GB, free: 66.49 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.126e-05/0.8212, allocations: 29.88 kB / 0.7747 GB, free: 66.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002752/0.8239, allocations: 316.2 kB / 0.775 GB, free: 66.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001414/0.8241, allocations: 50.7 kB / 0.775 GB, free: 66.31 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004271/0.8284, allocations: 0.995 MB / 0.776 GB, free: 65.77 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003979/0.8324, allocations: 1.068 MB / 0.777 GB, free: 64.96 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007058/0.8395, allocations: 1.622 MB / 0.7786 GB, free: 63.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.506e-05/0.8395, allocations: 11.47 kB / 0.7786 GB, free: 63.89 MB / 0.5762 GB Notification: Performance of matching and sorting (n=102) (initialization_lambda0): time 0.008946/0.8485, allocations: 1.833 MB / 0.7804 GB, free: 63 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.8485, allocations: 8.906 kB / 0.7804 GB, free: 63 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.25e-05/0.8486, allocations: 12.53 kB / 0.7804 GB, free: 63 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.8486, allocations: 14.59 kB / 0.7804 GB, free: 63 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002161/0.8507, allocations: 393.8 kB / 0.7808 GB, free: 62.86 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.825e-05/0.8508, allocations: 20.44 kB / 0.7808 GB, free: 62.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002607/0.8534, allocations: 283.7 kB / 0.7811 GB, free: 62.72 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/0.8535, allocations: 51.23 kB / 0.7812 GB, free: 62.71 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.0003592/0.8539, allocations: 235.2 kB / 0.7814 GB, free: 62.49 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002951/0.8542, allocations: 138 kB / 0.7815 GB, free: 62.41 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00782/0.862, allocations: 1.781 MB / 0.7832 GB, free: 61.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.962e-05/0.8621, allocations: 11.95 kB / 0.7833 GB, free: 61.49 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.8621, allocations: 0 / 0.7833 GB, free: 61.49 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006665/0.8687, allocations: 1.559 MB / 0.7848 GB, free: 60.61 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009141/0.8779, allocations: 3.025 MB / 0.7877 GB, free: 58.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/0.8779, allocations: 1.594 kB / 0.7877 GB, free: 58.62 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00192/0.8799, allocations: 290.1 kB / 0.788 GB, free: 58.51 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.218e-05/0.8799, allocations: 2.5 kB / 0.788 GB, free: 58.51 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.387e-05/0.88, allocations: 22.53 kB / 0.788 GB, free: 58.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.88, allocations: 10.23 kB / 0.788 GB, free: 58.49 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.88, allocations: 3.719 kB / 0.7881 GB, free: 58.49 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0104/0.8904, allocations: 2.451 MB / 0.7904 GB, free: 56.28 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007179/0.8911, allocations: 327.1 kB / 0.7908 GB, free: 55.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001964/0.8913, allocations: 8 kB / 0.7908 GB, free: 55.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001963/0.8933, allocations: 215.6 kB / 0.791 GB, free: 55.72 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.237e-05/0.8934, allocations: 36.39 kB / 0.791 GB, free: 55.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.326e-05/0.8935, allocations: 31.97 kB / 0.791 GB, free: 55.65 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001194/0.8947, allocations: 0.9035 MB / 0.7919 GB, free: 54.75 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8947, allocations: 0 / 0.7919 GB, free: 54.75 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00222/0.8969, allocations: 0.7854 MB / 0.7927 GB, free: 53.99 MB / 0.5762 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.001048/0.898, allocations: 0.5179 MB / 0.7932 GB, free: 53.56 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01118/0.9092, allocations: 2.468 MB / 0.7956 GB, free: 51.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/0.9092, allocations: 7.984 kB / 0.7956 GB, free: 51.09 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003468/0.9127, allocations: 0.7446 MB / 0.7963 GB, free: 50.35 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003184/0.9159, allocations: 0.7202 MB / 0.797 GB, free: 49.68 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006219/0.9221, allocations: 2.754 MB / 0.7997 GB, free: 46.89 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005258/0.9227, allocations: 1.217 MB / 0.8009 GB, free: 45.64 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005524/0.9232, allocations: 139.4 kB / 0.801 GB, free: 45.5 MB / 0.5762 GB Notification: Performance of SimCode: time 1.163e-06/0.9232, allocations: 4 kB / 0.8011 GB, free: 45.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.03672/0.96, allocations: 28.15 MB / 0.8285 GB, free: 17.57 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)