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.001202/0.001202, allocations: 106.6 kB / 16.41 MB, free: 6.477 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.001152/0.001152, allocations: 193.6 kB / 17.34 MB, free: 5.754 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.198/1.198, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7097/0.7097, allocations: 135.1 MB / 426.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 62.72 kB / 0.5863 GB, free: 21.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1242, allocations: 80.92 MB / 0.6653 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve): time 0.0432/0.1674, allocations: 48.17 MB / 0.7124 GB, free: 5.434 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01676/0.1842, allocations: 13.39 MB / 0.7254 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001824/0.1861, allocations: 67.62 kB / 0.7255 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002319/0.1884, allocations: 0.9086 MB / 0.7264 GB, free: 7.031 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.004728/0.1932, allocations: 2.075 MB / 0.7284 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003881/0.1971, allocations: 1.86 MB / 0.7302 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004691/0.2018, allocations: 4.11 MB / 0.7342 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001965/0.2037, allocations: 1.481 MB / 0.7357 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003097/0.2069, allocations: 1.647 MB / 0.7373 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00166/0.2085, allocations: 1.19 MB / 0.7385 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003321/0.2089, allocations: 148 kB / 0.7386 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002747/0.2116, allocations: 1.463 MB / 0.74 GB, free: 9.008 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004809/0.2121, allocations: 446.6 kB / 0.7404 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001054/0.2132, allocations: 0.8553 MB / 0.7413 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003733/0.2169, allocations: 2.953 MB / 0.7442 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2169, allocations: 4 kB / 0.7442 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.684e-06/0.2169, allocations: 0 / 0.7442 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.222e-05/0.217, allocations: 3.938 kB / 0.7442 GB, free: 4.742 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.003331/0.2203, allocations: 2.008 MB / 0.7461 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.2204, allocations: 9.109 kB / 0.7461 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00852/0.2289, allocations: 1.298 MB / 0.7474 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2611/0.49, allocations: 1.415 MB / 0.7488 GB, free: 79.79 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/0.4902, allocations: 75.81 kB / 0.7489 GB, free: 79.79 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002608/0.4904, allocations: 97.16 kB / 0.749 GB, free: 79.79 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004991/0.4954, allocations: 1.586 MB / 0.7505 GB, free: 79.64 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.722e-05/0.4955, allocations: 1.094 kB / 0.7505 GB, free: 79.64 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/0.4956, allocations: 42.66 kB / 0.7505 GB, free: 79.64 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.838e-05/0.4956, allocations: 21.97 kB / 0.7506 GB, free: 79.64 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007348/0.503, allocations: 1.773 MB / 0.7523 GB, free: 79.5 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.01293/0.5159, allocations: 6.373 MB / 0.7585 GB, free: 75.82 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006741/0.5227, allocations: 1.387 MB / 0.7599 GB, free: 75.55 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003355/0.5261, allocations: 0.6988 MB / 0.7606 GB, free: 75.43 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004147/0.5302, allocations: 3.944 MB / 0.7644 GB, free: 71.95 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.5303, allocations: 33.12 kB / 0.7644 GB, free: 71.91 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=42): time 2.014e-06/0.5303, allocations: 0 / 0.7644 GB, free: 71.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=42): time 0.009217/0.5395, allocations: 1.988 MB / 0.7664 GB, free: 71.48 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.765e-05/0.5395, allocations: 59.36 kB / 0.7664 GB, free: 71.41 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001555/0.5411, allocations: 1.309 MB / 0.7677 GB, free: 70.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.263e-05/0.5412, allocations: 37.3 kB / 0.7678 GB, free: 70.66 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003608/0.5415, allocations: 0.6926 MB / 0.7684 GB, free: 70.06 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.5417, allocations: 157.6 kB / 0.7686 GB, free: 69.93 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002791/0.5419, allocations: 197.5 kB / 0.7688 GB, free: 69.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.156e-05/0.542, allocations: 341.7 kB / 0.7691 GB, free: 69.47 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003267/0.5453, allocations: 0.7182 MB / 0.7698 GB, free: 69.12 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003328/0.5486, allocations: 1.067 MB / 0.7708 GB, free: 68.32 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005858/0.5545, allocations: 1.622 MB / 0.7724 GB, free: 67.26 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/0.5545, allocations: 3.5 kB / 0.7724 GB, free: 67.26 MB / 0.5762 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.00704/0.5615, allocations: 1.834 MB / 0.7742 GB, free: 66.37 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.5616, allocations: 8.75 kB / 0.7742 GB, free: 66.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.782e-05/0.5616, allocations: 12.06 kB / 0.7742 GB, free: 66.37 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.939e-05/0.5616, allocations: 16.12 kB / 0.7743 GB, free: 66.37 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001881/0.5635, allocations: 393.4 kB / 0.7746 GB, free: 66.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.06e-05/0.5636, allocations: 19.53 kB / 0.7746 GB, free: 66.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002109/0.5657, allocations: 319.5 kB / 0.775 GB, free: 66.06 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/0.5658, allocations: 51.58 kB / 0.775 GB, free: 66.05 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003445/0.5692, allocations: 0.9929 MB / 0.776 GB, free: 65.52 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003154/0.5724, allocations: 1.065 MB / 0.777 GB, free: 64.71 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005736/0.5782, allocations: 1.627 MB / 0.7786 GB, free: 63.64 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.027e-05/0.5782, allocations: 7.281 kB / 0.7786 GB, free: 63.64 MB / 0.5762 GB Notification: Performance of matching and sorting (n=102) (initialization_lambda0): time 0.006857/0.585, allocations: 1.836 MB / 0.7804 GB, free: 62.75 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.5851, allocations: 11 kB / 0.7804 GB, free: 62.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.5851, allocations: 11 kB / 0.7804 GB, free: 62.75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.5851, allocations: 15.72 kB / 0.7804 GB, free: 62.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001864/0.587, allocations: 397.1 kB / 0.7808 GB, free: 62.61 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.801e-05/0.587, allocations: 20.17 kB / 0.7808 GB, free: 62.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002112/0.5891, allocations: 280.3 kB / 0.7811 GB, free: 62.47 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.629e-05/0.5892, allocations: 52.02 kB / 0.7811 GB, free: 62.46 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.0002706/0.5895, allocations: 251.5 kB / 0.7814 GB, free: 62.22 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002079/0.5897, allocations: 133.3 kB / 0.7815 GB, free: 62.15 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006501/0.5962, allocations: 1.779 MB / 0.7833 GB, free: 61.24 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/0.5963, allocations: 7.922 kB / 0.7833 GB, free: 61.24 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.5963, allocations: 0 / 0.7833 GB, free: 61.24 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005705/0.602, allocations: 1.556 MB / 0.7848 GB, free: 60.35 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007778/0.6098, allocations: 3.024 MB / 0.7877 GB, free: 58.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.85e-06/0.6098, allocations: 0 / 0.7877 GB, free: 58.36 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001564/0.6114, allocations: 292.7 kB / 0.788 GB, free: 58.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.6114, allocations: 3.031 kB / 0.788 GB, free: 58.25 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.388e-05/0.6114, allocations: 22.27 kB / 0.788 GB, free: 58.24 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.6115, allocations: 11.42 kB / 0.788 GB, free: 58.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.6115, allocations: 3.594 kB / 0.7881 GB, free: 58.23 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008758/0.6202, allocations: 2.445 MB / 0.7904 GB, free: 56.06 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004907/0.6207, allocations: 327.1 kB / 0.7908 GB, free: 55.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001464/0.6209, allocations: 12 kB / 0.7908 GB, free: 55.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001626/0.6225, allocations: 215.6 kB / 0.791 GB, free: 55.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.088e-05/0.6226, allocations: 40.39 kB / 0.791 GB, free: 55.45 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-05/0.6227, allocations: 27.97 kB / 0.791 GB, free: 55.43 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009715/0.6236, allocations: 0.9034 MB / 0.7919 GB, free: 54.52 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6237, allocations: 0 / 0.7919 GB, free: 54.52 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001753/0.6254, allocations: 0.7848 MB / 0.7927 GB, free: 53.77 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.0008497/0.6263, allocations: 0.517 MB / 0.7932 GB, free: 53.34 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009454/0.6357, allocations: 2.476 MB / 0.7956 GB, free: 50.88 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.6357, allocations: 0 / 0.7956 GB, free: 50.88 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002978/0.6387, allocations: 0.7482 MB / 0.7963 GB, free: 50.13 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002497/0.6412, allocations: 0.711 MB / 0.797 GB, free: 49.46 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00517/0.6464, allocations: 2.762 MB / 0.7997 GB, free: 46.66 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000429/0.6469, allocations: 1.21 MB / 0.8009 GB, free: 45.42 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004415/0.6473, allocations: 143.4 kB / 0.801 GB, free: 45.28 MB / 0.5762 GB Notification: Performance of SimCode: time 4.3e-07/0.6473, allocations: 3.938 kB / 0.801 GB, free: 45.28 MB / 0.5762 GB Notification: Performance of Templates: time 0.02564/0.673, allocations: 28.36 MB / 0.8287 GB, free: 17.14 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)