Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007123/0.007123, allocations: 101.5 kB / 15.73 MB, free: 6.035 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.001225/0.001226, allocations: 192.8 kB / 16.67 MB, free: 5.973 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.748/1.748, allocations: 205.1 MB / 222.5 MB, free: 4.441 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.628/1.628, allocations: 251.7 MB / 0.5094 GB, free: 3.059 MB / 414.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: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 70.09 kB / 0.7258 GB, free: 9.016 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2196, allocations: 104.7 MB / 0.828 GB, free: 212 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01774/0.2374, allocations: 17.57 MB / 0.8452 GB, free: 14.57 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0113/0.2488, allocations: 7.469 MB / 0.8525 GB, free: 7.078 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001045/0.2499, allocations: 19.88 kB / 0.8525 GB, free: 7.059 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001176/0.2511, allocations: 254.4 kB / 0.8528 GB, free: 6.809 MB / 0.67 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.002511/0.2536, allocations: 0.6375 MB / 0.8534 GB, free: 6.168 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002791/0.2565, allocations: 0.7104 MB / 0.8541 GB, free: 5.465 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001897/0.2584, allocations: 0.9818 MB / 0.855 GB, free: 4.48 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006848/0.2591, allocations: 337 kB / 0.8554 GB, free: 4.145 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009883/0.2601, allocations: 426.3 kB / 0.8558 GB, free: 3.727 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005723/0.2607, allocations: 310.7 kB / 0.8561 GB, free: 3.422 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 7.68e-05/0.2607, allocations: 32 kB / 0.8561 GB, free: 3.391 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002114/0.2629, allocations: 0.7135 MB / 0.8568 GB, free: 2.676 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002227/0.2631, allocations: 139.6 kB / 0.8569 GB, free: 2.539 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0003651/0.2635, allocations: 246.6 kB / 0.8572 GB, free: 2.297 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001986/0.2655, allocations: 0.8879 MB / 0.858 GB, free: 1.406 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.2655, allocations: 0 / 0.858 GB, free: 1.406 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.944e-06/0.2655, allocations: 0 / 0.858 GB, free: 1.406 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.047e-05/0.2655, allocations: 4 kB / 0.858 GB, free: 1.402 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001764/0.2673, allocations: 0.8759 MB / 0.8589 GB, free: 488 kB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.2674, allocations: 8.031 kB / 0.8589 GB, free: 480 kB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002469/0.2676, allocations: 64.19 kB / 0.8589 GB, free: 416 kB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/0.2686, allocations: 473.8 kB / 0.8594 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.708e-05/0.2687, allocations: 20.56 kB / 0.8594 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.749e-05/0.2688, allocations: 28 kB / 0.8594 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007221/0.2695, allocations: 280.5 kB / 0.8597 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.2696, allocations: 0 / 0.8597 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.177e-05/0.2696, allocations: 15.94 kB / 0.8597 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.2696, allocations: 11.94 kB / 0.8597 GB, free: 15.54 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006971/0.2703, allocations: 198.1 kB / 0.8599 GB, free: 15.35 MB / 0.6856 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.002547/0.2729, allocations: 1.277 MB / 0.8612 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005328/0.2734, allocations: 190.8 kB / 0.8614 GB, free: 13.79 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002649/0.2737, allocations: 88.81 kB / 0.8614 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002185/0.2759, allocations: 1.307 MB / 0.8627 GB, free: 12.2 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.897e-05/0.276, allocations: 38.55 kB / 0.8628 GB, free: 12.15 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=18): time 2.445e-06/0.2761, allocations: 0 / 0.8628 GB, free: 12.15 MB / 0.6856 GB Notification: Performance of matching and sorting (n=18): time 0.0009903/0.2771, allocations: 284.8 kB / 0.863 GB, free: 11.87 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.856e-05/0.2771, allocations: 51.41 kB / 0.8631 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009366/0.2781, allocations: 0.5692 MB / 0.8636 GB, free: 11.22 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.678e-05/0.2781, allocations: 33.7 kB / 0.8637 GB, free: 11.18 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002789/0.2784, allocations: 264.1 kB / 0.8639 GB, free: 10.92 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 6.944e-05/0.2785, allocations: 63.09 kB / 0.864 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001535/0.2787, allocations: 73.62 kB / 0.864 GB, free: 10.78 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001902/0.2789, allocations: 366.9 kB / 0.8644 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002843/0.2792, allocations: 88.67 kB / 0.8645 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004195/0.2796, allocations: 211.9 kB / 0.8647 GB, free: 10.07 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005925/0.2802, allocations: 234.8 kB / 0.8649 GB, free: 9.816 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.2802, allocations: 0 / 0.8649 GB, free: 9.816 MB / 0.6856 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000867/0.2811, allocations: 324.6 kB / 0.8652 GB, free: 9.492 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.2811, allocations: 8.188 kB / 0.8652 GB, free: 9.484 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.2812, allocations: 4 kB / 0.8652 GB, free: 9.48 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.718e-05/0.2812, allocations: 4 kB / 0.8652 GB, free: 9.477 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003725/0.2816, allocations: 67.84 kB / 0.8653 GB, free: 9.41 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.531e-05/0.2816, allocations: 4 kB / 0.8653 GB, free: 9.406 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004647/0.2821, allocations: 43.66 kB / 0.8653 GB, free: 9.363 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.613e-05/0.2821, allocations: 16 kB / 0.8654 GB, free: 9.348 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004832/0.2826, allocations: 224 kB / 0.8656 GB, free: 9.125 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004124/0.2831, allocations: 204.9 kB / 0.8658 GB, free: 8.883 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005736/0.2836, allocations: 246.5 kB / 0.866 GB, free: 8.617 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.164e-06/0.2837, allocations: 4 kB / 0.866 GB, free: 8.613 MB / 0.6856 GB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.0008226/0.2845, allocations: 316.7 kB / 0.8663 GB, free: 8.297 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.2845, allocations: 10.66 kB / 0.8663 GB, free: 8.289 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.2845, allocations: 0 / 0.8663 GB, free: 8.289 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.2846, allocations: 4 kB / 0.8663 GB, free: 8.285 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003377/0.2849, allocations: 63.91 kB / 0.8664 GB, free: 8.223 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.2849, allocations: 8.188 kB / 0.8664 GB, free: 8.215 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004823/0.2854, allocations: 35.81 kB / 0.8664 GB, free: 8.18 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.539e-05/0.2855, allocations: 12 kB / 0.8664 GB, free: 8.168 MB / 0.6856 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 (35): * Single equations (assignments): 35 * 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.0001875/0.2857, allocations: 208.1 kB / 0.8666 GB, free: 7.957 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.2858, allocations: 51.33 kB / 0.8667 GB, free: 7.906 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008476/0.2867, allocations: 288.3 kB / 0.867 GB, free: 7.621 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/0.2867, allocations: 4 kB / 0.867 GB, free: 7.617 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.2867, allocations: 0 / 0.867 GB, free: 7.617 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.2867, allocations: 3.984 kB / 0.867 GB, free: 7.613 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001542/0.2883, allocations: 0.7629 MB / 0.8677 GB, free: 6.781 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.2883, allocations: 0 / 0.8677 GB, free: 6.781 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002371/0.2885, allocations: 35.97 kB / 0.8677 GB, free: 6.746 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/0.2885, allocations: 4 kB / 0.8677 GB, free: 6.742 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.829e-05/0.2886, allocations: 8 kB / 0.8678 GB, free: 6.734 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.2886, allocations: 3.938 kB / 0.8678 GB, free: 6.73 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.2886, allocations: 0 / 0.8678 GB, free: 6.73 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.2897, allocations: 466.2 kB / 0.8682 GB, free: 6.246 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002332/0.2899, allocations: 152.6 kB / 0.8683 GB, free: 6.078 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.544e-05/0.29, allocations: 11.94 kB / 0.8684 GB, free: 6.066 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003201/0.2903, allocations: 19.98 kB / 0.8684 GB, free: 6.047 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.229e-05/0.2904, allocations: 15.92 kB / 0.8684 GB, free: 6.031 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.907e-05/0.2905, allocations: 15.98 kB / 0.8684 GB, free: 6.016 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006924/0.2912, allocations: 414.8 kB / 0.8688 GB, free: 5.613 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.5e-07/0.2912, allocations: 0 / 0.8688 GB, free: 5.613 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001199/0.2924, allocations: 227.7 kB / 0.869 GB, free: 5.391 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (senVolFlo.d) * 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 (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001703/0.2941, allocations: 493.2 kB / 0.8695 GB, free: 5.043 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001126/0.2953, allocations: 362.8 kB / 0.8698 GB, free: 4.691 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.2953, allocations: 0 / 0.8698 GB, free: 4.691 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002967/0.2956, allocations: 95.88 kB / 0.8699 GB, free: 4.598 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001783/0.2974, allocations: 260.4 kB / 0.8702 GB, free: 4.348 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002252/0.2997, allocations: 0.8751 MB / 0.871 GB, free: 3.434 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006175/0.3003, allocations: 0.8466 MB / 0.8719 GB, free: 2.559 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0005606/0.3009, allocations: 112.3 kB / 0.872 GB, free: 2.445 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.301, allocations: 39.44 kB / 0.872 GB, free: 2.406 MB / 0.6856 GB Notification: Performance of SimCode: time 1.563e-06/0.301, allocations: 0 / 0.872 GB, free: 2.406 MB / 0.6856 GB Notification: Performance of Templates: time 0.02715/0.3282, allocations: 10.48 MB / 0.8822 GB, free: 8.078 MB / 0.7012 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)