Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.001231/0.001231, allocations: 111 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.001423/0.001423, allocations: 189.5 kB / 17.35 MB, free: 5.715 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8068/0.8068, allocations: 132.2 MB / 423.4 MB, free: 6.535 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 63.81 kB / 0.582 GB, free: 23.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1386, allocations: 80.2 MB / 0.6604 GB, free: 10.26 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.04968/0.1883, allocations: 48.17 MB / 0.7074 GB, free: 9.91 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01953/0.2078, allocations: 13.38 MB / 0.7205 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002404/0.2103, allocations: 67.62 kB / 0.7205 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002746/0.213, allocations: 0.9164 MB / 0.7214 GB, free: 11.51 MB / 0.5606 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.005392/0.2185, allocations: 2.126 MB / 0.7235 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004478/0.2229, allocations: 1.864 MB / 0.7253 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005591/0.2285, allocations: 4.108 MB / 0.7293 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002531/0.2311, allocations: 1.492 MB / 0.7308 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003566/0.2347, allocations: 1.651 MB / 0.7324 GB, free: 228 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001895/0.2366, allocations: 1.182 MB / 0.7336 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003966/0.237, allocations: 148 kB / 0.7337 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003144/0.2402, allocations: 1.459 MB / 0.7351 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005754/0.2407, allocations: 446.6 kB / 0.7356 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001304/0.2421, allocations: 0.8553 MB / 0.7364 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004513/0.2466, allocations: 2.963 MB / 0.7393 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.503e-06/0.2466, allocations: 4 kB / 0.7393 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2466, allocations: 3.938 kB / 0.7393 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.799e-05/0.2467, allocations: 4 kB / 0.7393 GB, free: 9.148 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.003627/0.2503, allocations: 2.069 MB / 0.7413 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.2504, allocations: 8.031 kB / 0.7413 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009995/0.2604, allocations: 1.303 MB / 0.7426 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002748/0.2631, allocations: 1.432 MB / 0.744 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.29e-05/0.2632, allocations: 74 kB / 0.7441 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001619/0.2634, allocations: 92 kB / 0.7441 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00539/0.2688, allocations: 1.593 MB / 0.7457 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/0.2688, allocations: 4 kB / 0.7457 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001152/0.2689, allocations: 39.98 kB / 0.7457 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.077e-05/0.269, allocations: 24 kB / 0.7458 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008339/0.2773, allocations: 1.772 MB / 0.7475 GB, free: 0.5898 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.2936/0.5709, allocations: 6.38 MB / 0.7537 GB, free: 81.42 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00743/0.5784, allocations: 1.384 MB / 0.7551 GB, free: 81.16 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003743/0.5822, allocations: 0.7 MB / 0.7558 GB, free: 81.02 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004452/0.5866, allocations: 3.932 MB / 0.7596 GB, free: 77.58 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.5867, allocations: 49.36 kB / 0.7597 GB, free: 77.54 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=42): time 2.475e-06/0.5867, allocations: 1.875 kB / 0.7597 GB, free: 77.54 MB / 0.5762 GB Notification: Performance of matching and sorting (n=42): time 0.01162/0.5983, allocations: 1.989 MB / 0.7616 GB, free: 77.16 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.291e-05/0.5983, allocations: 59.67 kB / 0.7617 GB, free: 77.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002024/0.6004, allocations: 1.312 MB / 0.7629 GB, free: 76.59 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.179e-05/0.6005, allocations: 41.77 kB / 0.763 GB, free: 76.55 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004578/0.6009, allocations: 0.7071 MB / 0.7637 GB, free: 76.04 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/0.6011, allocations: 154.8 kB / 0.7638 GB, free: 75.95 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003301/0.6014, allocations: 198.1 kB / 0.764 GB, free: 75.86 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.936e-05/0.6015, allocations: 339.2 kB / 0.7643 GB, free: 75.54 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0038/0.6053, allocations: 0.7247 MB / 0.765 GB, free: 75.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004042/0.6093, allocations: 1.066 MB / 0.7661 GB, free: 74.81 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007143/0.6165, allocations: 1.622 MB / 0.7677 GB, free: 73.93 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.029e-05/0.6165, allocations: 3.25 kB / 0.7677 GB, free: 73.93 MB / 0.5762 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.00828/0.6248, allocations: 1.839 MB / 0.7695 GB, free: 73.04 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.912e-05/0.6249, allocations: 14.62 kB / 0.7695 GB, free: 73.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.08e-05/0.6249, allocations: 10.16 kB / 0.7695 GB, free: 73.04 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.25e-05/0.6249, allocations: 20.27 kB / 0.7695 GB, free: 73.03 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002147/0.6271, allocations: 386.7 kB / 0.7699 GB, free: 72.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.146e-05/0.6271, allocations: 26.33 kB / 0.7699 GB, free: 72.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002396/0.6295, allocations: 319.1 kB / 0.7702 GB, free: 72.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/0.6296, allocations: 55.56 kB / 0.7702 GB, free: 72.74 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00405/0.6337, allocations: 0.9853 MB / 0.7712 GB, free: 72.21 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003702/0.6374, allocations: 1.068 MB / 0.7723 GB, free: 71.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006706/0.6441, allocations: 1.622 MB / 0.7738 GB, free: 70.34 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.943e-06/0.6441, allocations: 10.81 kB / 0.7738 GB, free: 70.33 MB / 0.5762 GB Notification: Performance of matching and sorting (n=102) (initialization_lambda0): time 0.00783/0.652, allocations: 1.834 MB / 0.7756 GB, free: 69.44 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.652, allocations: 9.719 kB / 0.7756 GB, free: 69.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.652, allocations: 11.53 kB / 0.7757 GB, free: 69.44 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.652, allocations: 23.27 kB / 0.7757 GB, free: 69.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002145/0.6542, allocations: 390.2 kB / 0.7761 GB, free: 69.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.656e-05/0.6542, allocations: 23.05 kB / 0.7761 GB, free: 69.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002337/0.6566, allocations: 283.3 kB / 0.7763 GB, free: 69.17 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.796e-05/0.6567, allocations: 57.45 kB / 0.7764 GB, free: 69.15 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.0002632/0.6569, allocations: 237.5 kB / 0.7766 GB, free: 68.93 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002193/0.6572, allocations: 138.3 kB / 0.7768 GB, free: 68.86 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007807/0.665, allocations: 1.79 MB / 0.7785 GB, free: 67.95 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006839/0.6718, allocations: 1.555 MB / 0.78 GB, free: 67.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.6719, allocations: 0.5625 kB / 0.78 GB, free: 67.06 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000615/0.6725, allocations: 334.7 kB / 0.7803 GB, free: 66.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000202/0.6727, allocations: 11.95 kB / 0.7804 GB, free: 66.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001999/0.6747, allocations: 223.5 kB / 0.7806 GB, free: 66.66 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.6748, allocations: 33.02 kB / 0.7806 GB, free: 66.64 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008479/0.6833, allocations: 1.721 MB / 0.7823 GB, free: 65.79 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01043/0.6938, allocations: 2.504 MB / 0.7847 GB, free: 64.45 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003385/0.6972, allocations: 0.7277 MB / 0.7854 GB, free: 64.09 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001257/0.6985, allocations: 0.9019 MB / 0.7863 GB, free: 63.59 MB / 0.5762 GB Notification: Performance of Backend: time 5.11e-07/0.6985, allocations: 0 / 0.7863 GB, free: 63.59 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009777/0.7082, allocations: 2.376 MB / 0.7886 GB, free: 61.66 MB / 0.5762 GB Notification: Performance of SimCode: time 0.004743/0.713, allocations: 3.258 MB / 0.7918 GB, free: 58.42 MB / 0.5762 GB Notification: Performance of Templates: time 0.04644/0.7595, allocations: 38.93 MB / 0.8298 GB, free: 19.86 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve.pipe 2>&1)