Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001805/0.001805, allocations: 105.8 kB / 16.37 MB, free: 6.312 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.00188/0.00188, allocations: 187.4 kB / 17.3 MB, free: 5.871 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.522/1.522, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.799/1.799, allocations: 292.3 MB / 0.5496 GB, free: 17.63 MB / 462.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.001567/0.001568, allocations: 71.91 kB / 0.6729 GB, free: 5.773 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2976, allocations: 114.5 MB / 0.7848 GB, free: 3.109 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.5727/0.8704, allocations: 17.56 MB / 0.8019 GB, free: 40.34 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01197/0.8824, allocations: 7.49 MB / 0.8092 GB, free: 35.39 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008248/0.8833, allocations: 17.41 kB / 0.8093 GB, free: 35.39 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001101/0.8845, allocations: 251.4 kB / 0.8095 GB, free: 35.24 MB / 0.6544 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.00206/0.8866, allocations: 0.6071 MB / 0.8101 GB, free: 34.89 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002468/0.889, allocations: 0.7153 MB / 0.8108 GB, free: 34.54 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001878/0.8909, allocations: 0.965 MB / 0.8117 GB, free: 34.1 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007028/0.8916, allocations: 335.3 kB / 0.8121 GB, free: 33.96 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001018/0.8927, allocations: 411.9 kB / 0.8125 GB, free: 33.77 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006464/0.8933, allocations: 311.6 kB / 0.8127 GB, free: 33.64 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.26e-05/0.8934, allocations: 32.97 kB / 0.8128 GB, free: 33.63 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002148/0.8956, allocations: 0.7162 MB / 0.8135 GB, free: 33.39 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002174/0.8958, allocations: 123.3 kB / 0.8136 GB, free: 33.34 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003467/0.8962, allocations: 250.2 kB / 0.8138 GB, free: 33.19 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001765/0.898, allocations: 0.8774 MB / 0.8147 GB, free: 32.86 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.309e-06/0.898, allocations: 0 / 0.8147 GB, free: 32.86 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.294e-06/0.898, allocations: 0 / 0.8147 GB, free: 32.86 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.909e-06/0.898, allocations: 4 kB / 0.8147 GB, free: 32.86 MB / 0.6544 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.001671/0.8997, allocations: 0.8679 MB / 0.8155 GB, free: 32.19 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 7.856e-05/0.8998, allocations: 8.719 kB / 0.8156 GB, free: 32.19 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000383/0.9002, allocations: 59.11 kB / 0.8156 GB, free: 32.16 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/0.9013, allocations: 471.9 kB / 0.8161 GB, free: 31.82 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.806e-05/0.9014, allocations: 21.31 kB / 0.8161 GB, free: 31.81 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.164e-05/0.9015, allocations: 31.27 kB / 0.8161 GB, free: 31.8 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007855/0.9023, allocations: 286.4 kB / 0.8164 GB, free: 31.65 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.9023, allocations: 0 / 0.8164 GB, free: 31.65 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.188e-05/0.9023, allocations: 10.67 kB / 0.8164 GB, free: 31.64 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.949e-05/0.9023, allocations: 6.688 kB / 0.8164 GB, free: 31.64 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005892/0.9029, allocations: 194.2 kB / 0.8166 GB, free: 31.58 MB / 0.6544 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.002796/0.9057, allocations: 1.468 MB / 0.818 GB, free: 30.47 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005109/0.9063, allocations: 162.5 kB / 0.8182 GB, free: 30.4 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002604/0.9065, allocations: 87.41 kB / 0.8183 GB, free: 30.37 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001848/0.9084, allocations: 1.277 MB / 0.8195 GB, free: 29.13 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.449e-05/0.9085, allocations: 37.06 kB / 0.8195 GB, free: 29.09 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 1.923e-06/0.9085, allocations: 0 / 0.8195 GB, free: 29.09 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.000892/0.9094, allocations: 245.7 kB / 0.8198 GB, free: 28.99 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.9094, allocations: 56.56 kB / 0.8198 GB, free: 28.93 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/0.9105, allocations: 0.5817 MB / 0.8204 GB, free: 28.67 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.076e-05/0.9105, allocations: 28.48 kB / 0.8204 GB, free: 28.64 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000255/0.9108, allocations: 273.9 kB / 0.8207 GB, free: 28.41 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.828e-05/0.9109, allocations: 55.11 kB / 0.8207 GB, free: 28.37 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/0.911, allocations: 65.8 kB / 0.8208 GB, free: 28.33 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.9111, allocations: 357 kB / 0.8211 GB, free: 28 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002202/0.9114, allocations: 79.3 kB / 0.8212 GB, free: 27.97 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003327/0.9117, allocations: 213.8 kB / 0.8214 GB, free: 27.8 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004869/0.9122, allocations: 235.4 kB / 0.8216 GB, free: 27.65 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.9122, allocations: 5.188 kB / 0.8216 GB, free: 27.64 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007166/0.913, allocations: 318.9 kB / 0.822 GB, free: 27.51 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/0.913, allocations: 7.438 kB / 0.822 GB, free: 27.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.913, allocations: 2.344 kB / 0.822 GB, free: 27.51 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.593e-05/0.913, allocations: 8.906 kB / 0.822 GB, free: 27.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002842/0.9133, allocations: 64.41 kB / 0.822 GB, free: 27.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/0.9134, allocations: 4.5 kB / 0.822 GB, free: 27.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003346/0.9137, allocations: 41.98 kB / 0.8221 GB, free: 27.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.737e-05/0.9138, allocations: 15.77 kB / 0.8221 GB, free: 27.47 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003706/0.9141, allocations: 213.3 kB / 0.8223 GB, free: 27.35 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000369/0.9145, allocations: 206 kB / 0.8225 GB, free: 27.19 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004576/0.915, allocations: 234.5 kB / 0.8227 GB, free: 27.03 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.583e-06/0.915, allocations: 5.406 kB / 0.8227 GB, free: 27.03 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006766/0.9157, allocations: 304.5 kB / 0.823 GB, free: 26.9 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.9157, allocations: 10.5 kB / 0.823 GB, free: 26.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.9157, allocations: 5.516 kB / 0.823 GB, free: 26.9 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.027e-06/0.9157, allocations: 4.625 kB / 0.823 GB, free: 26.9 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002839/0.916, allocations: 67.88 kB / 0.8231 GB, free: 26.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.9161, allocations: 4.078 kB / 0.8231 GB, free: 26.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003333/0.9164, allocations: 34.45 kB / 0.8231 GB, free: 26.88 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.147e-05/0.9165, allocations: 17.42 kB / 0.8231 GB, free: 26.87 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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.0001043/0.9166, allocations: 196.5 kB / 0.8233 GB, free: 26.68 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.965e-05/0.9167, allocations: 54.75 kB / 0.8234 GB, free: 26.65 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006174/0.9173, allocations: 258.6 kB / 0.8236 GB, free: 26.54 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.9173, allocations: 1.547 kB / 0.8236 GB, free: 26.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.125e-06/0.9173, allocations: 1.062 kB / 0.8236 GB, free: 26.54 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001601/0.9175, allocations: 145.4 kB / 0.8238 GB, free: 26.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.641e-05/0.9176, allocations: 1.719 kB / 0.8238 GB, free: 26.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/0.9178, allocations: 13.19 kB / 0.8238 GB, free: 26.41 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.525e-05/0.9178, allocations: 10.06 kB / 0.8238 GB, free: 26.41 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005084/0.9183, allocations: 286.9 kB / 0.8241 GB, free: 26.24 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005522/0.9189, allocations: 411.4 kB / 0.8245 GB, free: 25.95 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00021/0.9191, allocations: 78.62 kB / 0.8245 GB, free: 25.93 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006301/0.9198, allocations: 419.9 kB / 0.8249 GB, free: 25.75 MB / 0.6544 GB Notification: Performance of Backend: time 4.11e-07/0.9198, allocations: 3.938 kB / 0.8249 GB, free: 25.75 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003064/0.9228, allocations: 0.8383 MB / 0.8258 GB, free: 25.52 MB / 0.6544 GB Notification: Performance of SimCode: time 0.002414/0.9253, allocations: 1.396 MB / 0.8271 GB, free: 24.6 MB / 0.6544 GB Notification: Performance of Templates: time 0.03319/0.9585, allocations: 11.79 MB / 0.8386 GB, free: 22.9 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)