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.01099/0.01099, allocations: 100.9 kB / 15.73 MB, free: 6.043 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.001785/0.001784, allocations: 190 kB / 16.67 MB, free: 5.977 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.606/1.606, allocations: 205.1 MB / 222.5 MB, free: 4.508 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.709/1.709, allocations: 251.7 MB / 0.5094 GB, free: 3.047 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.002337/0.002337, allocations: 67.91 kB / 0.7258 GB, free: 9.148 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2475, allocations: 104.7 MB / 0.828 GB, free: 344 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01752/0.2651, allocations: 17.57 MB / 0.8452 GB, free: 14.7 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01061/0.2757, allocations: 7.469 MB / 0.8525 GB, free: 7.203 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007054/0.2765, allocations: 15.88 kB / 0.8525 GB, free: 7.188 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001034/0.2775, allocations: 258.4 kB / 0.8528 GB, free: 6.934 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.001771/0.2793, allocations: 0.6336 MB / 0.8534 GB, free: 6.297 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001999/0.2813, allocations: 0.7152 MB / 0.8541 GB, free: 5.59 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001417/0.2828, allocations: 0.9741 MB / 0.855 GB, free: 4.613 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006091/0.2834, allocations: 341 kB / 0.8554 GB, free: 4.273 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001053/0.2845, allocations: 422.3 kB / 0.8558 GB, free: 3.859 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006873/0.2852, allocations: 314.6 kB / 0.8561 GB, free: 3.551 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001086/0.2853, allocations: 28 kB / 0.8561 GB, free: 3.523 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001688/0.287, allocations: 0.7213 MB / 0.8568 GB, free: 2.801 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002368/0.2872, allocations: 135.5 kB / 0.8569 GB, free: 2.668 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0003813/0.2876, allocations: 250.6 kB / 0.8572 GB, free: 2.422 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001793/0.2894, allocations: 0.884 MB / 0.858 GB, free: 1.535 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.2894, allocations: 0 / 0.858 GB, free: 1.535 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.844e-06/0.2894, allocations: 3.938 kB / 0.858 GB, free: 1.531 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.824e-05/0.2895, allocations: 4 kB / 0.858 GB, free: 1.527 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.001478/0.291, allocations: 0.8642 MB / 0.8589 GB, free: 0.6133 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.291, allocations: 16.03 kB / 0.8589 GB, free: 0.5977 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002672/0.2913, allocations: 60.19 kB / 0.8589 GB, free: 0.5391 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.2923, allocations: 473.8 kB / 0.8594 GB, free: 40 kB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.506e-05/0.2924, allocations: 24.56 kB / 0.8594 GB, free: 12 kB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.864e-05/0.2925, allocations: 28.05 kB / 0.8594 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006394/0.2931, allocations: 276.5 kB / 0.8597 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.2931, allocations: 3.938 kB / 0.8597 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.716e-05/0.2932, allocations: 12 kB / 0.8597 GB, free: 15.69 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.2932, allocations: 4 kB / 0.8597 GB, free: 15.68 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004649/0.2936, allocations: 202.1 kB / 0.8599 GB, free: 15.49 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.002049/0.2957, allocations: 1.281 MB / 0.8612 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003898/0.2961, allocations: 186.8 kB / 0.8614 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001988/0.2963, allocations: 92.81 kB / 0.8614 GB, free: 13.83 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001686/0.298, allocations: 1.299 MB / 0.8627 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.015e-05/0.2981, allocations: 42.56 kB / 0.8627 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=18): time 2.525e-06/0.2981, allocations: 0 / 0.8627 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of matching and sorting (n=18): time 0.000711/0.2988, allocations: 279.6 kB / 0.863 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/0.2989, allocations: 59.39 kB / 0.8631 GB, free: 11.94 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007302/0.2996, allocations: 0.5692 MB / 0.8636 GB, free: 11.36 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.012e-05/0.2996, allocations: 29.7 kB / 0.8637 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002246/0.2999, allocations: 276 kB / 0.8639 GB, free: 11.05 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 5.084e-05/0.2999, allocations: 59.11 kB / 0.864 GB, free: 10.99 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/0.3001, allocations: 73.69 kB / 0.864 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000181/0.3002, allocations: 362.9 kB / 0.8644 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002182/0.3005, allocations: 88.67 kB / 0.8645 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000304/0.3008, allocations: 207.9 kB / 0.8647 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004211/0.3012, allocations: 230.8 kB / 0.8649 GB, free: 9.961 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.3012, allocations: 0 / 0.8649 GB, free: 9.961 MB / 0.6856 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006422/0.3019, allocations: 332.6 kB / 0.8652 GB, free: 9.629 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.3019, allocations: 8 kB / 0.8652 GB, free: 9.621 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.3019, allocations: 0 / 0.8652 GB, free: 9.621 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.3019, allocations: 4 kB / 0.8652 GB, free: 9.617 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002615/0.3022, allocations: 67.91 kB / 0.8653 GB, free: 9.551 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.3022, allocations: 0 / 0.8653 GB, free: 9.551 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000345/0.3026, allocations: 47.84 kB / 0.8653 GB, free: 9.504 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.906e-05/0.3026, allocations: 19.98 kB / 0.8654 GB, free: 9.484 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003358/0.303, allocations: 220.1 kB / 0.8656 GB, free: 9.266 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002883/0.3033, allocations: 216.9 kB / 0.8658 GB, free: 9.012 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004059/0.3037, allocations: 246 kB / 0.866 GB, free: 8.746 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.415e-06/0.3037, allocations: 0 / 0.866 GB, free: 8.746 MB / 0.6856 GB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.0006295/0.3043, allocations: 318.1 kB / 0.8663 GB, free: 8.43 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.3044, allocations: 4 kB / 0.8663 GB, free: 8.426 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.3044, allocations: 8.188 kB / 0.8663 GB, free: 8.418 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.091e-06/0.3044, allocations: 4 kB / 0.8663 GB, free: 8.414 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002398/0.3046, allocations: 67.91 kB / 0.8664 GB, free: 8.348 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.3046, allocations: 4 kB / 0.8664 GB, free: 8.344 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003506/0.305, allocations: 35.81 kB / 0.8664 GB, free: 8.309 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.084e-05/0.305, allocations: 16 kB / 0.8664 GB, free: 8.293 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.0001508/0.3052, allocations: 200.1 kB / 0.8666 GB, free: 8.09 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.32e-05/0.3053, allocations: 55.34 kB / 0.8667 GB, free: 8.035 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006146/0.3059, allocations: 277.9 kB / 0.8669 GB, free: 7.758 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.3059, allocations: 4 kB / 0.867 GB, free: 7.754 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.306, allocations: 0 / 0.867 GB, free: 7.754 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.306, allocations: 0 / 0.867 GB, free: 7.754 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/0.3071, allocations: 0.7668 MB / 0.8677 GB, free: 6.918 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.3071, allocations: 4 kB / 0.8677 GB, free: 6.914 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000159/0.3073, allocations: 39.92 kB / 0.8677 GB, free: 6.875 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.3073, allocations: 3.984 kB / 0.8677 GB, free: 6.871 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.3073, allocations: 4 kB / 0.8678 GB, free: 6.867 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.3073, allocations: 0 / 0.8678 GB, free: 6.867 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.3073, allocations: 4.312 kB / 0.8678 GB, free: 6.863 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000706/0.308, allocations: 482.6 kB / 0.8682 GB, free: 6.367 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000153/0.3082, allocations: 152.3 kB / 0.8684 GB, free: 6.199 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.11e-05/0.3083, allocations: 7.984 kB / 0.8684 GB, free: 6.191 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001983/0.3085, allocations: 15.98 kB / 0.8684 GB, free: 6.176 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.078e-05/0.3085, allocations: 11.98 kB / 0.8684 GB, free: 6.164 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.3086, allocations: 11.98 kB / 0.8684 GB, free: 6.152 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0004483/0.309, allocations: 410.8 kB / 0.8688 GB, free: 5.754 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/0.309, allocations: 3.938 kB / 0.8688 GB, free: 5.75 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0007843/0.3098, allocations: 239.7 kB / 0.869 GB, free: 5.516 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.001205/0.311, allocations: 494.1 kB / 0.8695 GB, free: 5.164 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0007623/0.3118, allocations: 349.9 kB / 0.8698 GB, free: 4.824 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3118, allocations: 0 / 0.8698 GB, free: 4.824 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002124/0.312, allocations: 108.8 kB / 0.8699 GB, free: 4.719 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/0.3132, allocations: 246.2 kB / 0.8702 GB, free: 4.48 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/0.3147, allocations: 0.8757 MB / 0.871 GB, free: 3.566 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004042/0.3151, allocations: 0.8544 MB / 0.8719 GB, free: 2.684 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0003475/0.3155, allocations: 104.3 kB / 0.872 GB, free: 2.578 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.606e-05/0.3156, allocations: 35.44 kB / 0.872 GB, free: 2.543 MB / 0.6856 GB Notification: Performance of SimCode: time 4.31e-07/0.3156, allocations: 0 / 0.872 GB, free: 2.543 MB / 0.6856 GB Notification: Performance of Templates: time 0.01853/0.3341, allocations: 10.48 MB / 0.8822 GB, free: 8.211 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)