Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ThreeWayValves.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(Annex60.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005092/0.005092, allocations: 95.42 kB / 15.73 MB, free: 6.039 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.001295/0.001295, allocations: 204.7 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.241/1.241, allocations: 205.1 MB / 222.5 MB, free: 4.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3437/0.3437, allocations: 54.94 MB / 324.9 MB, free: 15.88 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 71.08 kB / 456.2 MB, free: 38.13 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09522/0.09654, allocations: 59.59 MB / 0.5037 GB, free: 9.578 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.06603/0.1626, allocations: 78.49 MB / 0.5804 GB, free: 12.24 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0218/0.1845, allocations: 16.19 MB / 0.5962 GB, free: 12.01 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002573/0.1871, allocations: 75.5 kB / 0.5963 GB, free: 11.93 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002112/0.1892, allocations: 0.8693 MB / 0.5971 GB, free: 11.06 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005757/0.195, allocations: 2.389 MB / 0.5994 GB, free: 8.66 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003709/0.1987, allocations: 1.615 MB / 0.601 GB, free: 7.059 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005745/0.2045, allocations: 4.625 MB / 0.6055 GB, free: 2.418 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002432/0.2069, allocations: 1.579 MB / 0.6071 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004123/0.2111, allocations: 1.827 MB / 0.6089 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002524/0.2136, allocations: 1.431 MB / 0.6103 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004599/0.2141, allocations: 167.9 kB / 0.6104 GB, free: 13.38 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002808/0.2169, allocations: 1.19 MB / 0.6116 GB, free: 12.18 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006511/0.2176, allocations: 442.4 kB / 0.612 GB, free: 11.75 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001685/0.2193, allocations: 0.9836 MB / 0.613 GB, free: 10.76 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004181/0.2234, allocations: 2.872 MB / 0.6158 GB, free: 7.879 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.2235, allocations: 0 / 0.6158 GB, free: 7.879 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2235, allocations: 0 / 0.6158 GB, free: 7.879 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.047e-05/0.2236, allocations: 0 / 0.6158 GB, free: 7.879 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: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.003372/0.2269, allocations: 2.226 MB / 0.6179 GB, free: 5.594 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.227, allocations: 8.031 kB / 0.6179 GB, free: 5.586 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005902/0.2276, allocations: 230.8 kB / 0.6182 GB, free: 5.359 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001945/0.2295, allocations: 1.391 MB / 0.6195 GB, free: 3.914 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.99e-05/0.2296, allocations: 86.17 kB / 0.6196 GB, free: 3.828 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/0.2298, allocations: 116 kB / 0.6197 GB, free: 3.715 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003516/0.2333, allocations: 1.546 MB / 0.6212 GB, free: 2.059 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.031e-05/0.2333, allocations: 3.938 kB / 0.6212 GB, free: 2.055 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.883e-05/0.2334, allocations: 52 kB / 0.6213 GB, free: 2.004 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.222e-05/0.2335, allocations: 39.92 kB / 0.6213 GB, free: 1.965 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002984/0.2365, allocations: 1.139 MB / 0.6224 GB, free: 0.8242 MB / 494.1 MB 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.006946/0.2434, allocations: 6.742 MB / 0.629 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002152/0.2456, allocations: 0.6669 MB / 0.6297 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003279/0.2459, allocations: 214 kB / 0.6299 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000204/0.2462, allocations: 182.5 kB / 0.63 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.2462, allocations: 38.89 kB / 0.6301 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=39): time 3.076e-06/0.2462, allocations: 0 / 0.6301 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.007358/0.2536, allocations: 2.581 MB / 0.6326 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.612e-05/0.2537, allocations: 136.5 kB / 0.6327 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001612/0.2553, allocations: 1.48 MB / 0.6342 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.454e-05/0.2553, allocations: 37.7 kB / 0.6342 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005631/0.2559, allocations: 0.7912 MB / 0.635 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000125/0.256, allocations: 158.6 kB / 0.6351 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002657/0.2563, allocations: 198.5 kB / 0.6353 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.2564, allocations: 341.9 kB / 0.6357 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009477/0.2574, allocations: 388.6 kB / 0.636 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001208/0.2586, allocations: 0.6837 MB / 0.6367 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001965/0.2606, allocations: 1.001 MB / 0.6377 GB, free: 380 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.2606, allocations: 0 / 0.6377 GB, free: 380 kB / 0.4981 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.2178/0.4785, allocations: 1.216 MB / 0.6389 GB, free: 127.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.4785, allocations: 8.031 kB / 0.6389 GB, free: 127.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.4785, allocations: 7.781 kB / 0.6389 GB, free: 127.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.368e-05/0.4786, allocations: 19.38 kB / 0.6389 GB, free: 127.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/0.4796, allocations: 251.4 kB / 0.6391 GB, free: 127.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.84e-05/0.4797, allocations: 19.14 kB / 0.6391 GB, free: 127.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/0.4809, allocations: 101 kB / 0.6392 GB, free: 127.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.247e-05/0.4809, allocations: 42.42 kB / 0.6393 GB, free: 127.3 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009927/0.4819, allocations: 0.5473 MB / 0.6398 GB, free: 127.2 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006679/0.4826, allocations: 0.5696 MB / 0.6404 GB, free: 126.8 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009417/0.4836, allocations: 0.7733 MB / 0.6411 GB, free: 126.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.831e-06/0.4836, allocations: 2.656 kB / 0.6411 GB, free: 126.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=112) (initialization_lambda0): time 0.001472/0.4851, allocations: 0.9807 MB / 0.6421 GB, free: 126.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.4851, allocations: 12.38 kB / 0.6421 GB, free: 126.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.4851, allocations: 10.16 kB / 0.6421 GB, free: 126.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.4851, allocations: 14.08 kB / 0.6421 GB, free: 126.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007097/0.4858, allocations: 206.6 kB / 0.6423 GB, free: 126.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.058e-05/0.4859, allocations: 18.41 kB / 0.6423 GB, free: 126.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008/0.4867, allocations: 65.73 kB / 0.6424 GB, free: 126.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.263e-05/0.4867, allocations: 41.62 kB / 0.6424 GB, free: 126.3 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (112): * Single equations (assignments): 112 * Array equations: 0 * 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.0001898/0.4869, allocations: 238.5 kB / 0.6427 GB, free: 126.1 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002021/0.4871, allocations: 159 kB / 0.6428 GB, free: 126.1 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002276/0.4894, allocations: 0.9145 MB / 0.6437 GB, free: 125.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/0.4895, allocations: 5.5 kB / 0.6437 GB, free: 125.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.4895, allocations: 0.5938 kB / 0.6437 GB, free: 125.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001926/0.4914, allocations: 1.055 MB / 0.6447 GB, free: 125.1 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003909/0.4953, allocations: 2.17 MB / 0.6469 GB, free: 124.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.4953, allocations: 1.375 kB / 0.6469 GB, free: 124.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006807/0.496, allocations: 142 kB / 0.647 GB, free: 124.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001987/0.4962, allocations: 75.45 kB / 0.6471 GB, free: 124 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.92e-05/0.4963, allocations: 19.77 kB / 0.6471 GB, free: 124 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000525/0.4968, allocations: 1.161 MB / 0.6482 GB, free: 122.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.4968, allocations: 1.812 kB / 0.6482 GB, free: 122.9 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002741/0.4996, allocations: 1.381 MB / 0.6496 GB, free: 122.4 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003332/0.4999, allocations: 308.4 kB / 0.6499 GB, free: 122.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001601/0.5001, allocations: 14.14 kB / 0.6499 GB, free: 122.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008363/0.5009, allocations: 79.77 kB / 0.65 GB, free: 122.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.685e-05/0.501, allocations: 37.33 kB / 0.65 GB, free: 122.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-05/0.5011, allocations: 23.02 kB / 0.65 GB, free: 122.1 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001063/0.5021, allocations: 0.9951 MB / 0.651 GB, free: 121.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5021, allocations: 0 / 0.651 GB, free: 121.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001476/0.5036, allocations: 0.6663 MB / 0.6516 GB, free: 121.7 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U) * 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 (41): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000584/0.5042, allocations: 362.6 kB / 0.652 GB, free: 121.6 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002284/0.5065, allocations: 1.284 MB / 0.6532 GB, free: 121.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.5065, allocations: 0 / 0.6532 GB, free: 121.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008387/0.5074, allocations: 378.2 kB / 0.6536 GB, free: 121.1 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003012/0.5104, allocations: 0.9251 MB / 0.6545 GB, free: 120.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009253/0.5196, allocations: 3.672 MB / 0.6581 GB, free: 118.9 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004632/0.5201, allocations: 1.256 MB / 0.6593 GB, free: 117.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00103/0.5212, allocations: 332.4 kB / 0.6596 GB, free: 117.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002669/0.5214, allocations: 119.4 kB / 0.6598 GB, free: 117.2 MB / 0.4981 GB Notification: Performance of SimCode: time 1.012e-06/0.5214, allocations: 0 / 0.6598 GB, free: 117.2 MB / 0.4981 GB Notification: Performance of Templates: time 0.03609/0.5575, allocations: 32.72 MB / 0.6917 GB, free: 84.69 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)