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.0009608/0.0009608, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.008752/0.008752, allocations: 169 kB / 16.26 MB, free: 6.652 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.471/1.471, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7911/0.7911, allocations: 132.3 MB / 423.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003544/0.0003544, allocations: 12 kB / 0.504 GB, free: 3.879 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5133/0.5136, allocations: 81.57 MB / 0.5837 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve): time 0.05365/0.5674, allocations: 46.85 MB / 0.6294 GB, free: 300 kB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02145/0.5889, allocations: 13.29 MB / 0.6424 GB, free: 4.137 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003516/0.5924, allocations: 59.62 kB / 0.6425 GB, free: 4.078 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003264/0.5957, allocations: 0.7773 MB / 0.6432 GB, free: 3.297 MB / 478.1 MB [/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.007029/0.6028, allocations: 1.928 MB / 0.6451 GB, free: 1.363 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005656/0.6084, allocations: 1.669 MB / 0.6467 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.008087/0.6165, allocations: 5.504 MB / 0.6521 GB, free: 10.2 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003321/0.6199, allocations: 1.206 MB / 0.6533 GB, free: 8.957 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004129/0.6241, allocations: 1.354 MB / 0.6546 GB, free: 7.598 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002605/0.6267, allocations: 1.143 MB / 0.6557 GB, free: 6.449 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004689/0.6272, allocations: 64 kB / 0.6558 GB, free: 6.387 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003877/0.6311, allocations: 1.365 MB / 0.6571 GB, free: 5.02 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006964/0.6318, allocations: 358.5 kB / 0.6575 GB, free: 4.668 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001607/0.6334, allocations: 0.771 MB / 0.6582 GB, free: 3.887 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005589/0.639, allocations: 2.815 MB / 0.661 GB, free: 1.062 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.437e-06/0.6391, allocations: 0 / 0.661 GB, free: 1.062 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.965e-06/0.6391, allocations: 0 / 0.661 GB, free: 1.062 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001386/0.6392, allocations: 0 / 0.661 GB, free: 1.062 MB / 494.1 MB 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.00583/0.6451, allocations: 1.718 MB / 0.6626 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.715e-05/0.6451, allocations: 8.031 kB / 0.6627 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01045/0.6556, allocations: 1.63 MB / 0.6642 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003482/0.6591, allocations: 1.435 MB / 0.6656 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004165/0.6596, allocations: 133.9 kB / 0.6658 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003227/0.6599, allocations: 100 kB / 0.6659 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006063/0.666, allocations: 1.729 MB / 0.6676 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.569e-05/0.666, allocations: 11.94 kB / 0.6676 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001446/0.6662, allocations: 36 kB / 0.6676 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.443e-05/0.6662, allocations: 24 kB / 0.6676 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009203/0.6754, allocations: 2.057 MB / 0.6696 GB, free: 8.039 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.01889/0.6944, allocations: 6.654 MB / 0.6761 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008483/0.7029, allocations: 1.676 MB / 0.6778 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003917/0.7068, allocations: 0.8334 MB / 0.6786 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006258/0.7131, allocations: 3.948 MB / 0.6824 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/0.7132, allocations: 38.56 kB / 0.6825 GB, free: 10 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006677/0.7139, allocations: 67.06 kB / 0.6825 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 4.909e-06/0.7139, allocations: 0 / 0.6825 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.01183/0.7257, allocations: 2.381 MB / 0.6849 GB, free: 7.547 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.305e-05/0.7258, allocations: 59.41 kB / 0.6849 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002645/0.7285, allocations: 1.305 MB / 0.6862 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001352/0.7286, allocations: 37.7 kB / 0.6862 GB, free: 6.117 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006727/0.7293, allocations: 0.6871 MB / 0.6869 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002224/0.7295, allocations: 157.8 kB / 0.6871 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001532/0.7297, allocations: 73.69 kB / 0.6871 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.7299, allocations: 341.9 kB / 0.6875 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004128/0.734, allocations: 0.8566 MB / 0.6883 GB, free: 3.988 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004302/0.7383, allocations: 1.204 MB / 0.6895 GB, free: 2.629 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007623/0.746, allocations: 1.897 MB / 0.6913 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.878e-05/0.746, allocations: 4 kB / 0.6913 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.009196/0.7552, allocations: 2.114 MB / 0.6934 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000365/0.7556, allocations: 417.6 kB / 0.6938 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.453e-05/0.7557, allocations: 12 kB / 0.6938 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.521e-05/0.7557, allocations: 16 kB / 0.6938 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0024/0.7581, allocations: 451.4 kB / 0.6942 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.54e-05/0.7582, allocations: 23.92 kB / 0.6943 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003192/0.7614, allocations: 372 kB / 0.6946 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000244/0.7616, allocations: 51.97 kB / 0.6947 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.7616, allocations: 4 kB / 0.6947 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008809/0.7705, allocations: 1.974 MB / 0.6966 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.982e-05/0.7705, allocations: 8 kB / 0.6966 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.7706, allocations: 16 kB / 0.6966 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002393/0.773, allocations: 467.6 kB / 0.6971 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.604e-05/0.773, allocations: 23.92 kB / 0.6971 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002797/0.7758, allocations: 332.2 kB / 0.6974 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001812/0.776, allocations: 55.97 kB / 0.6975 GB, free: 10.12 MB / 0.5294 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 (102): * Single equations (assignments): 101 * 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.001005/0.777, allocations: 424.8 kB / 0.6979 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004064/0.7774, allocations: 146.2 kB / 0.698 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008666/0.7861, allocations: 2.052 MB / 0.7 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.653e-05/0.7862, allocations: 8 kB / 0.7 GB, free: 7.504 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.399e-05/0.7862, allocations: 3.984 kB / 0.7 GB, free: 7.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007476/0.7937, allocations: 1.818 MB / 0.7018 GB, free: 5.633 MB / 0.5294 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.01093/0.8046, allocations: 3.294 MB / 0.705 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.8046, allocations: 0 / 0.705 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002058/0.8067, allocations: 351.7 kB / 0.7053 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.117e-05/0.8067, allocations: 4 kB / 0.7054 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.868e-05/0.8068, allocations: 19.97 kB / 0.7054 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.8068, allocations: 4 kB / 0.7054 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.8068, allocations: 3.938 kB / 0.7054 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01201/0.8189, allocations: 2.839 MB / 0.7082 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000972/0.8199, allocations: 339.1 kB / 0.7085 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003274/0.8202, allocations: 4 kB / 0.7085 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002429/0.8226, allocations: 299.7 kB / 0.7088 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/0.8228, allocations: 52.19 kB / 0.7088 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001425/0.8229, allocations: 27.97 kB / 0.7088 GB, free: 14.26 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001969/0.8249, allocations: 0.8957 MB / 0.7097 GB, free: 13.36 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.01e-07/0.8249, allocations: 0 / 0.7097 GB, free: 13.36 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00344/0.8284, allocations: 0.772 MB / 0.7105 GB, free: 12.59 MB / 0.545 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 (56): * Single equations (assignments): 48 * 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.001393/0.8298, allocations: 0.5106 MB / 0.711 GB, free: 12.09 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01262/0.8424, allocations: 2.898 MB / 0.7138 GB, free: 9.199 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.8424, allocations: 4 kB / 0.7138 GB, free: 9.195 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00395/0.8464, allocations: 0.8775 MB / 0.7147 GB, free: 8.316 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00404/0.8505, allocations: 0.6727 MB / 0.7153 GB, free: 7.664 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008358/0.8588, allocations: 3.42 MB / 0.7187 GB, free: 4.199 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001067/0.8599, allocations: 1.222 MB / 0.7198 GB, free: 2.949 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002318/0.8623, allocations: 422.5 kB / 0.7203 GB, free: 2.555 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000482/0.8628, allocations: 119.4 kB / 0.7204 GB, free: 2.438 MB / 0.545 GB Notification: Performance of SimCode: time 1.904e-06/0.8628, allocations: 4 kB / 0.7204 GB, free: 2.434 MB / 0.545 GB Notification: Performance of Templates: time 0.05824/0.921, allocations: 29.13 MB / 0.7488 GB, free: 5.695 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)