Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.333/2.333, allocations: 251.1 MB / 266.7 MB, free: 11.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001361/0.00136, allocations: 181.7 kB / 326.3 MB, free: 2.855 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.418/2.418, allocations: 205.4 MB / 0.5772 GB, free: 20.76 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001356/0.001356, allocations: 90.36 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006754/0.0006756, allocations: 18.97 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.2075, allocations: 106.3 MB / 0.8995 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.02918/0.2367, allocations: 24.42 MB / 0.9233 GB, free: 41.04 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01847/0.2553, allocations: 9.866 MB / 0.933 GB, free: 31.15 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00149/0.2568, allocations: 31.69 kB / 0.933 GB, free: 31.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001232/0.2581, allocations: 262.2 kB / 0.9333 GB, free: 30.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003735/0.2618, allocations: 0.9394 MB / 0.9342 GB, free: 29.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003221/0.2651, allocations: 0.8568 MB / 0.935 GB, free: 29.07 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003865/0.269, allocations: 2.739 MB / 0.9377 GB, free: 26.32 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001463/0.2705, allocations: 0.7838 MB / 0.9385 GB, free: 25.52 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002261/0.2728, allocations: 1.024 MB / 0.9395 GB, free: 24.49 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002176/0.275, allocations: 0.9732 MB / 0.9404 GB, free: 23.52 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0002938/0.2753, allocations: 44 kB / 0.9404 GB, free: 23.47 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00233/0.2776, allocations: 0.8188 MB / 0.9412 GB, free: 22.65 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0003401/0.278, allocations: 211.1 kB / 0.9414 GB, free: 22.45 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003832/0.2784, allocations: 205.2 kB / 0.9416 GB, free: 22.24 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001755/0.2802, allocations: 1.122 MB / 0.9427 GB, free: 21.11 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.2802, allocations: 0 / 0.9427 GB, free: 21.11 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.415e-06/0.2802, allocations: 4 kB / 0.9427 GB, free: 21.11 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.268e-05/0.2802, allocations: 0 / 0.9427 GB, free: 21.11 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.002621/0.2829, allocations: 1.161 MB / 0.9439 GB, free: 19.9 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.2829, allocations: 8.031 kB / 0.9439 GB, free: 19.89 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000316/0.2832, allocations: 119.6 kB / 0.944 GB, free: 19.77 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001383/0.2846, allocations: 0.624 MB / 0.9446 GB, free: 19.11 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.796e-05/0.2847, allocations: 57 kB / 0.9447 GB, free: 19.05 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002208/0.285, allocations: 88 kB / 0.9447 GB, free: 18.96 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/0.2862, allocations: 0.553 MB / 0.9453 GB, free: 18.38 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.2863, allocations: 4 kB / 0.9453 GB, free: 18.38 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.015e-05/0.2863, allocations: 20 kB / 0.9453 GB, free: 18.36 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/0.2864, allocations: 12 kB / 0.9453 GB, free: 18.35 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001178/0.2875, allocations: 423.6 kB / 0.9457 GB, free: 17.93 MB / 0.6042 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.005382/0.2929, allocations: 2.544 MB / 0.9482 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007414/0.2937, allocations: 270.4 kB / 0.9485 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004176/0.2941, allocations: 144.8 kB / 0.9486 GB, free: 14.83 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002888/0.2944, allocations: 344.4 kB / 0.9489 GB, free: 14.42 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.2945, allocations: 38.55 kB / 0.949 GB, free: 14.38 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=29): time 3.527e-06/0.2945, allocations: 0 / 0.949 GB, free: 14.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=29): time 0.001692/0.2962, allocations: 481.9 kB / 0.9494 GB, free: 13.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.345e-05/0.2963, allocations: 55.41 kB / 0.9495 GB, free: 13.83 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/0.2974, allocations: 0.7513 MB / 0.9502 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002149/0.2976, allocations: 49.7 kB / 0.9503 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004344/0.2981, allocations: 432.8 kB / 0.9507 GB, free: 12.59 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.473e-05/0.2982, allocations: 106.5 kB / 0.9508 GB, free: 12.48 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.893e-05/0.2982, allocations: 12 kB / 0.9508 GB, free: 12.47 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.44e-05/0.2983, allocations: 329.9 kB / 0.9511 GB, free: 12.14 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005299/0.2988, allocations: 153 kB / 0.9512 GB, free: 12 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00128/0.3001, allocations: 0.7751 MB / 0.952 GB, free: 11.02 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006762/0.3008, allocations: 237.1 kB / 0.9522 GB, free: 10.79 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.85e-06/0.3008, allocations: 0 / 0.9522 GB, free: 10.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00165/0.3025, allocations: 0.5496 MB / 0.9528 GB, free: 10.23 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.259e-05/0.3026, allocations: 146.9 kB / 0.9529 GB, free: 10.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.3026, allocations: 8.203 kB / 0.9529 GB, free: 10.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.421e-05/0.3026, allocations: 4 kB / 0.9529 GB, free: 10.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002088/0.3047, allocations: 203.7 kB / 0.9531 GB, free: 9.844 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001174/0.3059, allocations: 2.36 MB / 0.9554 GB, free: 7.391 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005305/0.3113, allocations: 0.6947 MB / 0.9561 GB, free: 6.695 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001309/0.3114, allocations: 23.98 kB / 0.9561 GB, free: 6.672 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.3115, allocations: 4 kB / 0.9561 GB, free: 6.668 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001361/0.3128, allocations: 450.1 kB / 0.9566 GB, free: 6.227 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.3129, allocations: 0 / 0.9566 GB, free: 6.227 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.468e-06/0.3129, allocations: 4 kB / 0.9566 GB, free: 6.223 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.3139, allocations: 135.8 kB / 0.9567 GB, free: 6.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.3139, allocations: 11.92 kB / 0.9567 GB, free: 6.078 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005204/0.3192, allocations: 0.6869 MB / 0.9574 GB, free: 5.391 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001253/0.3193, allocations: 20 kB / 0.9574 GB, free: 5.371 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (62): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005838/0.3199, allocations: 285.6 kB / 0.9577 GB, free: 5.082 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002056/0.3201, allocations: 86.91 kB / 0.9577 GB, free: 4.996 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001446/0.3216, allocations: 0.4897 MB / 0.9582 GB, free: 4.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.3216, allocations: 3.984 kB / 0.9582 GB, free: 4.496 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.3216, allocations: 0 / 0.9582 GB, free: 4.496 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003377/0.322, allocations: 195.9 kB / 0.9584 GB, free: 4.285 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001351/0.3221, allocations: 8 kB / 0.9584 GB, free: 4.277 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007629/0.3229, allocations: 47.86 kB / 0.9585 GB, free: 4.23 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.28e-05/0.323, allocations: 27.95 kB / 0.9585 GB, free: 4.203 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00155/0.3246, allocations: 0.5228 MB / 0.959 GB, free: 3.66 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001617/0.3262, allocations: 0.759 MB / 0.9597 GB, free: 2.883 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004332/0.3266, allocations: 156 kB / 0.9599 GB, free: 2.73 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0007907/0.3274, allocations: 0.5029 MB / 0.9604 GB, free: 2.23 MB / 0.6042 GB Notification: Performance of Backend: time 7.52e-07/0.3275, allocations: 0 / 0.9604 GB, free: 2.23 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.004322/0.3318, allocations: 0.9135 MB / 0.9613 GB, free: 1.32 MB / 0.6042 GB Notification: Performance of SimCode: time 0.005015/0.3368, allocations: 2.168 MB / 0.9634 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of Templates: time 0.05643/0.3933, allocations: 20.57 MB / 0.9835 GB, free: 10.75 MB / 0.6355 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)