Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009442/0.0009442, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001142/0.001142, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.404/1.404, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.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.691/1.691, allocations: 292.7 MB / 0.5499 GB, free: 14.58 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.0005336/0.0005337, allocations: 20.53 kB / 0.6737 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2532, allocations: 116.3 MB / 0.7873 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01539/0.2686, allocations: 14.37 MB / 0.8013 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01115/0.2798, allocations: 6.7 MB / 0.8079 GB, free: 6.828 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006122/0.2805, allocations: 15.88 kB / 0.8079 GB, free: 6.812 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0008763/0.2814, allocations: 198.9 kB / 0.8081 GB, free: 6.617 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001332/0.2827, allocations: 489.4 kB / 0.8085 GB, free: 6.137 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001637/0.2844, allocations: 0.5871 MB / 0.8091 GB, free: 5.559 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001319/0.2857, allocations: 1.122 MB / 0.8102 GB, free: 4.434 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000388/0.2861, allocations: 254.4 kB / 0.8104 GB, free: 4.18 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005523/0.2867, allocations: 354.4 kB / 0.8108 GB, free: 3.832 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004074/0.2871, allocations: 294.7 kB / 0.8111 GB, free: 3.543 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 4.424e-05/0.2871, allocations: 16 kB / 0.8111 GB, free: 3.527 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001066/0.2882, allocations: 0.5263 MB / 0.8116 GB, free: 3 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.2883, allocations: 87.59 kB / 0.8117 GB, free: 2.914 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.2884, allocations: 105.5 kB / 0.8118 GB, free: 2.805 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0006525/0.2891, allocations: 0.5105 MB / 0.8123 GB, free: 2.293 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.2891, allocations: 0 / 0.8123 GB, free: 2.293 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2891, allocations: 0 / 0.8123 GB, free: 2.293 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.794e-06/0.2891, allocations: 0 / 0.8123 GB, free: 2.293 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001132/0.2903, allocations: 0.7473 MB / 0.813 GB, free: 1.496 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.2903, allocations: 8.031 kB / 0.813 GB, free: 1.488 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.698e-05/0.2904, allocations: 55.34 kB / 0.8131 GB, free: 1.434 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006121/0.291, allocations: 404.9 kB / 0.8135 GB, free: 0.9961 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.483e-05/0.2911, allocations: 20.44 kB / 0.8135 GB, free: 0.9766 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.349e-05/0.2911, allocations: 28 kB / 0.8135 GB, free: 0.9492 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004239/0.2916, allocations: 223.2 kB / 0.8137 GB, free: 0.7266 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.2916, allocations: 0 / 0.8137 GB, free: 0.7266 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.653e-05/0.2916, allocations: 12 kB / 0.8137 GB, free: 0.7148 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.2916, allocations: 4 kB / 0.8137 GB, free: 0.7109 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00036/0.292, allocations: 169.6 kB / 0.8139 GB, free: 0.5469 MB / 0.6231 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.001459/0.2935, allocations: 0.9535 MB / 0.8148 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002779/0.2938, allocations: 142.5 kB / 0.815 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/0.2939, allocations: 76.8 kB / 0.815 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002862/0.2942, allocations: 340.4 kB / 0.8154 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.2942, allocations: 30.56 kB / 0.8154 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=14): time 1.272e-06/0.2942, allocations: 0 / 0.8154 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of matching and sorting (n=14): time 0.0005971/0.2948, allocations: 256.6 kB / 0.8156 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/0.2949, allocations: 55.39 kB / 0.8157 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005453/0.2955, allocations: 465.9 kB / 0.8161 GB, free: 14.06 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.972e-05/0.2955, allocations: 33.7 kB / 0.8162 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001993/0.2957, allocations: 224.6 kB / 0.8164 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.267e-05/0.2958, allocations: 55.23 kB / 0.8164 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.829e-06/0.2958, allocations: 0 / 0.8164 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001764/0.296, allocations: 354.8 kB / 0.8168 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001956/0.2962, allocations: 71.81 kB / 0.8168 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002383/0.2964, allocations: 155.7 kB / 0.817 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002067/0.2966, allocations: 86.78 kB / 0.8171 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2966, allocations: 3.938 kB / 0.8171 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005123/0.2972, allocations: 264.8 kB / 0.8173 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.23e-05/0.2973, allocations: 102.7 kB / 0.8174 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.2973, allocations: 4 kB / 0.8174 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.2973, allocations: 4 kB / 0.8174 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002401/0.2975, allocations: 51.97 kB / 0.8175 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.2976, allocations: 3.938 kB / 0.8175 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002919/0.2979, allocations: 39.81 kB / 0.8175 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.638e-05/0.2979, allocations: 11.98 kB / 0.8175 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.142e-06/0.2979, allocations: 11.94 kB / 0.8175 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003896/0.2983, allocations: 186.9 kB / 0.8177 GB, free: 12.37 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.973e-06/0.2983, allocations: 0 / 0.8177 GB, free: 12.37 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.111e-06/0.2983, allocations: 7.953 kB / 0.8177 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000184/0.2985, allocations: 47.97 kB / 0.8178 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.274e-06/0.2985, allocations: 0 / 0.8178 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002596/0.2988, allocations: 43.75 kB / 0.8178 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/0.2988, allocations: 15.98 kB / 0.8178 GB, free: 12.25 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002402/0.2991, allocations: 241 kB / 0.8181 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.159e-05/0.2991, allocations: 43.44 kB / 0.8181 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005549/0.2997, allocations: 261.1 kB / 0.8183 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/0.2997, allocations: 7.938 kB / 0.8184 GB, free: 11.69 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.2997, allocations: 0 / 0.8184 GB, free: 11.69 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.2998, allocations: 0 / 0.8184 GB, free: 11.69 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009742/0.3007, allocations: 0.7122 MB / 0.8191 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-06/0.3007, allocations: 0 / 0.8191 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001153/0.3009, allocations: 35.98 kB / 0.8191 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.3009, allocations: 0 / 0.8191 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.3009, allocations: 8 kB / 0.8191 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.3009, allocations: 7.922 kB / 0.8191 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.3009, allocations: 8.172 kB / 0.8191 GB, free: 10.85 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004236/0.3014, allocations: 346.5 kB / 0.8194 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001424/0.3015, allocations: 152.4 kB / 0.8196 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.36e-05/0.3016, allocations: 7.938 kB / 0.8196 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/0.3018, allocations: 23.97 kB / 0.8196 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.304e-05/0.3018, allocations: 19.92 kB / 0.8196 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.3018, allocations: 8 kB / 0.8196 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003441/0.3022, allocations: 326.9 kB / 0.82 GB, free: 9.941 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3022, allocations: 0 / 0.82 GB, free: 9.941 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006116/0.3028, allocations: 195.7 kB / 0.8201 GB, free: 9.75 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001136/0.304, allocations: 458.9 kB / 0.8206 GB, free: 9.426 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0006612/0.3046, allocations: 286.1 kB / 0.8209 GB, free: 9.148 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3046, allocations: 0 / 0.8209 GB, free: 9.148 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000179/0.3048, allocations: 87.89 kB / 0.8209 GB, free: 9.062 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.306, allocations: 233.8 kB / 0.8212 GB, free: 8.84 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.3072, allocations: 0.8342 MB / 0.822 GB, free: 7.973 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003949/0.3076, allocations: 0.8272 MB / 0.8228 GB, free: 7.121 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002851/0.3079, allocations: 87.56 kB / 0.8229 GB, free: 7.035 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.111e-05/0.308, allocations: 39.42 kB / 0.8229 GB, free: 6.996 MB / 0.6387 GB Notification: Performance of SimCode: time 2.5e-07/0.308, allocations: 0 / 0.8229 GB, free: 6.996 MB / 0.6387 GB Notification: Performance of Templates: time 0.01439/0.3224, allocations: 8.125 MB / 0.8308 GB, free: 14.99 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) Environment - environmentSimulation: