Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.986/2.986, allocations: 287.5 MB / 302.4 MB, free: 8.363 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001405/0.001406, allocations: 170.1 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.196/2.196, allocations: 205.4 MB / 0.6297 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000926/0.0009257, allocations: 92.53 kB / 0.743 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004987/0.0004989, allocations: 12.7 kB / 0.8658 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2306/0.2312, allocations: 115.3 MB / 0.9784 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01818/0.2494, allocations: 14.36 MB / 0.9924 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01261/0.2621, allocations: 6.701 MB / 0.9989 GB, free: 7.238 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008219/0.263, allocations: 15.81 kB / 0.9989 GB, free: 7.223 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001044/0.264, allocations: 202.9 kB / 0.9991 GB, free: 7.023 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001801/0.2659, allocations: 0.4897 MB / 0.9996 GB, free: 6.531 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002558/0.2684, allocations: 0.5752 MB / 1 GB, free: 5.965 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001756/0.2702, allocations: 1.118 MB / 1.001 GB, free: 4.84 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005041/0.2707, allocations: 254.4 kB / 1.002 GB, free: 4.586 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008168/0.2716, allocations: 366.4 kB / 1.002 GB, free: 4.227 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004861/0.2721, allocations: 290.7 kB / 1.002 GB, free: 3.941 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.463e-05/0.2722, allocations: 16 kB / 1.002 GB, free: 3.926 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001484/0.2737, allocations: 0.5302 MB / 1.003 GB, free: 3.395 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001238/0.2738, allocations: 79.66 kB / 1.003 GB, free: 3.316 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.2739, allocations: 105.5 kB / 1.003 GB, free: 3.207 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0008418/0.2748, allocations: 0.5182 MB / 1.003 GB, free: 2.688 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.2748, allocations: 0 / 1.003 GB, free: 2.688 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.675e-06/0.2748, allocations: 4 kB / 1.003 GB, free: 2.684 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.2748, allocations: 0 / 1.003 GB, free: 2.684 MB / 0.6198 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.001395/0.2762, allocations: 0.7357 MB / 1.004 GB, free: 1.898 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.2763, allocations: 12.03 kB / 1.004 GB, free: 1.887 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00012/0.2764, allocations: 63.3 kB / 1.004 GB, free: 1.824 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006834/0.2771, allocations: 400.9 kB / 1.005 GB, free: 1.395 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.431e-05/0.2772, allocations: 16.44 kB / 1.005 GB, free: 1.379 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.184e-05/0.2772, allocations: 28 kB / 1.005 GB, free: 1.352 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005826/0.2778, allocations: 215.2 kB / 1.005 GB, free: 1.133 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.2779, allocations: 3.984 kB / 1.005 GB, free: 1.129 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.993e-05/0.2779, allocations: 8 kB / 1.005 GB, free: 1.121 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.2779, allocations: 8 kB / 1.005 GB, free: 1.113 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005715/0.2785, allocations: 177.6 kB / 1.005 GB, free: 0.9414 MB / 0.6198 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.002263/0.2808, allocations: 0.9496 MB / 1.006 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00048/0.2813, allocations: 134.6 kB / 1.006 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002868/0.2816, allocations: 72.81 kB / 1.006 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004482/0.282, allocations: 336.4 kB / 1.006 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.703e-05/0.2821, allocations: 34.56 kB / 1.006 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 3.287e-06/0.2821, allocations: 8 kB / 1.006 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.001096/0.2832, allocations: 250.3 kB / 1.007 GB, free: 15 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/0.2833, allocations: 59.33 kB / 1.007 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008749/0.2842, allocations: 469.9 kB / 1.007 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.325e-05/0.2842, allocations: 29.7 kB / 1.007 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002645/0.2845, allocations: 228.6 kB / 1.007 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.164e-05/0.2846, allocations: 55.3 kB / 1.007 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.75e-05/0.2846, allocations: 4 kB / 1.007 GB, free: 14.13 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001903/0.2848, allocations: 350.8 kB / 1.008 GB, free: 13.78 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003065/0.2851, allocations: 75.81 kB / 1.008 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004387/0.2856, allocations: 151.6 kB / 1.008 GB, free: 13.53 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003411/0.286, allocations: 90.11 kB / 1.008 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.286, allocations: 0 / 1.008 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000887/0.2869, allocations: 264.9 kB / 1.008 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.699e-05/0.287, allocations: 110.7 kB / 1.008 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.287, allocations: 0 / 1.008 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.287, allocations: 0 / 1.008 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004506/0.2875, allocations: 55.91 kB / 1.009 GB, free: 13 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.789e-06/0.2875, allocations: 0 / 1.009 GB, free: 13 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006093/0.2881, allocations: 43.81 kB / 1.009 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.041e-05/0.2882, allocations: 11.98 kB / 1.009 GB, free: 12.95 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/0.2882, allocations: 5.875 kB / 1.009 GB, free: 12.95 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007123/0.289, allocations: 191.7 kB / 1.009 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.289, allocations: 0 / 1.009 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.133e-06/0.289, allocations: 4 kB / 1.009 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003877/0.2894, allocations: 51.91 kB / 1.009 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.2894, allocations: 0 / 1.009 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005507/0.29, allocations: 47.75 kB / 1.009 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.553e-05/0.29, allocations: 11.98 kB / 1.009 GB, free: 12.64 MB / 0.6355 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.00033/0.2904, allocations: 237 kB / 1.009 GB, free: 12.4 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.2905, allocations: 47.39 kB / 1.009 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009457/0.2914, allocations: 261.1 kB / 1.009 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.2915, allocations: 4 kB / 1.009 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.2915, allocations: 0 / 1.009 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.2915, allocations: 0 / 1.009 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001582/0.2931, allocations: 0.7199 MB / 1.01 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/0.2931, allocations: 7.938 kB / 1.01 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002425/0.2934, allocations: 32.11 kB / 1.01 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.2934, allocations: 96 / 1.01 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.2934, allocations: 7.938 kB / 1.01 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.709e-06/0.2934, allocations: 7.984 kB / 1.01 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.2934, allocations: 0 / 1.01 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007719/0.2942, allocations: 351.2 kB / 1.011 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00022/0.2945, allocations: 144.4 kB / 1.011 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.838e-05/0.2946, allocations: 8 kB / 1.011 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004243/0.295, allocations: 23.97 kB / 1.011 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.583e-05/0.2951, allocations: 15.98 kB / 1.011 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.2951, allocations: 4 kB / 1.011 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005852/0.2957, allocations: 326.9 kB / 1.011 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.51e-07/0.2957, allocations: 4 kB / 1.011 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0009373/0.2967, allocations: 199.7 kB / 1.011 GB, free: 10.14 MB / 0.6355 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.001489/0.2982, allocations: 474.3 kB / 1.012 GB, free: 9.816 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001158/0.2993, allocations: 276 kB / 1.012 GB, free: 9.547 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.2994, allocations: 4 kB / 1.012 GB, free: 9.543 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003328/0.2997, allocations: 95.83 kB / 1.012 GB, free: 9.449 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002211/0.3019, allocations: 217.7 kB / 1.012 GB, free: 9.242 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001941/0.3039, allocations: 0.8348 MB / 1.013 GB, free: 8.367 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005464/0.3045, allocations: 0.8194 MB / 1.014 GB, free: 7.523 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005566/0.305, allocations: 95.44 kB / 1.014 GB, free: 7.43 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000134/0.3052, allocations: 39.42 kB / 1.014 GB, free: 7.395 MB / 0.6355 GB Notification: Performance of SimCode: time 1.002e-06/0.3052, allocations: 0 / 1.014 GB, free: 7.395 MB / 0.6355 GB Notification: Performance of Templates: time 0.02574/0.3309, allocations: 8.124 MB / 1.022 GB, free: 15.36 MB / 0.6511 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)