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.007043/0.007043, allocations: 101.5 kB / 15.73 MB, free: 5.98 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.0015/0.0015, allocations: 190.5 kB / 16.67 MB, free: 5.918 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.538/1.538, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.6/1.6, allocations: 251.7 MB / 0.5094 GB, free: 3.039 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.001396/0.001396, allocations: 67.91 kB / 0.7258 GB, free: 9.02 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.2186, 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.01998/0.2387, allocations: 17.57 MB / 0.8452 GB, free: 14.57 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01179/0.2505, allocations: 7.473 MB / 0.8525 GB, free: 7.074 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006954/0.2512, allocations: 15.88 kB / 0.8525 GB, free: 7.059 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001028/0.2523, allocations: 258.4 kB / 0.8528 GB, free: 6.805 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.001839/0.2542, allocations: 0.6023 MB / 0.8533 GB, free: 6.199 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002073/0.2563, allocations: 0.7127 MB / 0.854 GB, free: 5.492 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001307/0.2576, allocations: 0.9896 MB / 0.855 GB, free: 4.5 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004779/0.2581, allocations: 329 kB / 0.8553 GB, free: 4.172 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006512/0.2587, allocations: 414.3 kB / 0.8557 GB, free: 3.766 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003961/0.2591, allocations: 314.7 kB / 0.856 GB, free: 3.457 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 5.484e-05/0.2592, allocations: 36 kB / 0.8561 GB, free: 3.422 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001264/0.2605, allocations: 0.7135 MB / 0.8567 GB, free: 2.707 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001399/0.2606, allocations: 135.6 kB / 0.8569 GB, free: 2.574 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0002492/0.2609, allocations: 250.6 kB / 0.8571 GB, free: 2.328 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001151/0.262, allocations: 0.884 MB / 0.858 GB, free: 1.441 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2621, allocations: 4 kB / 0.858 GB, free: 1.438 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2621, allocations: 0 / 0.858 GB, free: 1.438 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.269e-05/0.2621, allocations: 0 / 0.858 GB, free: 1.438 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.001314/0.2634, allocations: 0.8759 MB / 0.8588 GB, free: 0.5117 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001176/0.2635, allocations: 12.03 kB / 0.8589 GB, free: 0.5 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000164/0.2637, allocations: 60.19 kB / 0.8589 GB, free: 452 kB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007978/0.2645, allocations: 470 kB / 0.8594 GB, free: 15.94 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.695e-05/0.2645, allocations: 20.56 kB / 0.8594 GB, free: 15.92 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.174e-05/0.2646, allocations: 36 kB / 0.8594 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005863/0.2652, allocations: 272.5 kB / 0.8597 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.2652, allocations: 0 / 0.8597 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.471e-05/0.2653, allocations: 12 kB / 0.8597 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001264/0.2654, allocations: 8 kB / 0.8597 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004534/0.2659, allocations: 202 kB / 0.8599 GB, free: 15.39 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.001913/0.2678, allocations: 1.281 MB / 0.8611 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003924/0.2682, allocations: 194.8 kB / 0.8613 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003341/0.2685, allocations: 88.81 kB / 0.8614 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001796/0.2703, allocations: 1.307 MB / 0.8627 GB, free: 12.23 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.2704, allocations: 34.56 kB / 0.8627 GB, free: 12.19 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=18): time 1.553e-06/0.2704, allocations: 0 / 0.8627 GB, free: 12.19 MB / 0.6856 GB Notification: Performance of matching and sorting (n=18): time 0.0006844/0.2711, allocations: 283.6 kB / 0.863 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.2711, allocations: 55.41 kB / 0.863 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006046/0.2717, allocations: 0.5731 MB / 0.8636 GB, free: 11.25 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.2718, allocations: 29.7 kB / 0.8636 GB, free: 11.22 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000187/0.272, allocations: 268.1 kB / 0.8639 GB, free: 10.95 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.782e-05/0.272, allocations: 63.09 kB / 0.8639 GB, free: 10.89 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.662e-05/0.2721, allocations: 69.69 kB / 0.864 GB, free: 10.81 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002378/0.2724, allocations: 366.7 kB / 0.8644 GB, free: 10.45 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002026/0.2726, allocations: 88.67 kB / 0.8644 GB, free: 10.36 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004076/0.273, allocations: 207.9 kB / 0.8646 GB, free: 10.11 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005466/0.2736, allocations: 234 kB / 0.8649 GB, free: 9.855 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.2736, allocations: 8 kB / 0.8649 GB, free: 9.848 MB / 0.6856 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000712/0.2743, allocations: 330.4 kB / 0.8652 GB, free: 9.523 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.2743, allocations: 8 kB / 0.8652 GB, free: 9.516 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.2743, allocations: 0 / 0.8652 GB, free: 9.516 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.2744, allocations: 4 kB / 0.8652 GB, free: 9.512 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002644/0.2746, allocations: 64.09 kB / 0.8653 GB, free: 9.449 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.2746, allocations: 8 kB / 0.8653 GB, free: 9.441 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003098/0.275, allocations: 43.66 kB / 0.8653 GB, free: 9.398 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.235e-05/0.275, allocations: 12 kB / 0.8653 GB, free: 9.387 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003629/0.2754, allocations: 224 kB / 0.8655 GB, free: 9.164 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002993/0.2757, allocations: 209.9 kB / 0.8657 GB, free: 8.918 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000404/0.2761, allocations: 236.8 kB / 0.866 GB, free: 8.66 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.126e-06/0.2761, allocations: 3.938 kB / 0.866 GB, free: 8.656 MB / 0.6856 GB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.0005983/0.2767, allocations: 323.8 kB / 0.8663 GB, free: 8.336 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.2767, allocations: 4 kB / 0.8663 GB, free: 8.332 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.2767, allocations: 7.938 kB / 0.8663 GB, free: 8.324 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.13e-06/0.2768, allocations: 4 kB / 0.8663 GB, free: 8.32 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002305/0.277, allocations: 63.91 kB / 0.8663 GB, free: 8.258 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.277, allocations: 4 kB / 0.8664 GB, free: 8.254 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003254/0.2773, allocations: 35.81 kB / 0.8664 GB, free: 8.219 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.537e-05/0.2774, allocations: 20.09 kB / 0.8664 GB, free: 8.199 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.0001368/0.2775, allocations: 201.8 kB / 0.8666 GB, free: 7.996 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.106e-05/0.2776, allocations: 51.53 kB / 0.8666 GB, free: 7.945 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006243/0.2782, allocations: 279.8 kB / 0.8669 GB, free: 7.668 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.2783, allocations: 7.938 kB / 0.8669 GB, free: 7.66 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.2783, allocations: 0 / 0.8669 GB, free: 7.66 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.2783, allocations: 4 kB / 0.8669 GB, free: 7.656 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/0.2794, allocations: 0.7707 MB / 0.8677 GB, free: 6.816 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.2794, allocations: 0 / 0.8677 GB, free: 6.816 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001933/0.2796, allocations: 31.98 kB / 0.8677 GB, free: 6.785 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.2796, allocations: 4.125 kB / 0.8677 GB, free: 6.781 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.106e-05/0.2797, allocations: 15.98 kB / 0.8677 GB, free: 6.766 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.2797, allocations: 7.938 kB / 0.8677 GB, free: 6.758 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.2797, allocations: 0 / 0.8677 GB, free: 6.758 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007437/0.2804, allocations: 466.3 kB / 0.8682 GB, free: 6.273 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000168/0.2806, allocations: 156.4 kB / 0.8683 GB, free: 6.102 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/0.2807, allocations: 4 kB / 0.8683 GB, free: 6.098 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/0.2809, allocations: 11.98 kB / 0.8683 GB, free: 6.086 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.622e-05/0.281, allocations: 19.92 kB / 0.8684 GB, free: 6.066 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.281, allocations: 8.047 kB / 0.8684 GB, free: 6.059 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0004549/0.2815, allocations: 418.8 kB / 0.8688 GB, free: 5.652 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2815, allocations: 0 / 0.8688 GB, free: 5.652 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0007721/0.2823, allocations: 231.7 kB / 0.869 GB, free: 5.426 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.001198/0.2835, allocations: 494.4 kB / 0.8695 GB, free: 5.078 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0007864/0.2843, allocations: 348.1 kB / 0.8698 GB, free: 4.738 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2843, allocations: 0 / 0.8698 GB, free: 4.738 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002187/0.2845, allocations: 99.89 kB / 0.8699 GB, free: 4.641 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/0.2858, allocations: 262.2 kB / 0.8701 GB, free: 4.391 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.2874, allocations: 0.8807 MB / 0.871 GB, free: 3.469 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004206/0.2878, allocations: 0.8466 MB / 0.8718 GB, free: 2.594 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0003201/0.2881, allocations: 104.3 kB / 0.8719 GB, free: 2.488 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.563e-05/0.2882, allocations: 43.44 kB / 0.872 GB, free: 2.445 MB / 0.6856 GB Notification: Performance of SimCode: time 3.21e-07/0.2882, allocations: 0 / 0.872 GB, free: 2.445 MB / 0.6856 GB Notification: Performance of Templates: time 0.01913/0.3074, allocations: 10.47 MB / 0.8822 GB, free: 8.121 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)