Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001332/0.001332, allocations: 108.1 kB / 16.27 MB, free: 6.004 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.001323/0.001323, allocations: 190.8 kB / 17.2 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00214/0.00214, allocations: 284.1 kB / 291.3 MB, free: 14.56 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9214/0.9214, allocations: 169.3 MB / 0.4988 GB, free: 4.527 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001922, allocations: 98.94 kB / 0.5959 GB, free: 4.039 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1705, allocations: 86.96 MB / 0.6808 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01671/0.1873, allocations: 15.53 MB / 0.696 GB, free: 13.47 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00611/0.1934, allocations: 4.338 MB / 0.7002 GB, free: 9.117 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00049/0.1939, allocations: 19.88 kB / 0.7003 GB, free: 9.098 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008951/0.1949, allocations: 254.3 kB / 0.7005 GB, free: 8.848 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001382/0.1963, allocations: 0.6058 MB / 0.7011 GB, free: 8.242 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001686/0.198, allocations: 0.7122 MB / 0.7018 GB, free: 7.535 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001107/0.1991, allocations: 1.013 MB / 0.7028 GB, free: 6.52 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004614/0.1996, allocations: 347.2 kB / 0.7031 GB, free: 6.176 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006014/0.2002, allocations: 418.3 kB / 0.7035 GB, free: 5.766 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003788/0.2006, allocations: 330.6 kB / 0.7038 GB, free: 5.441 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.668e-05/0.2006, allocations: 24 kB / 0.7038 GB, free: 5.418 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001008/0.2017, allocations: 0.6317 MB / 0.7045 GB, free: 4.785 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001135/0.2018, allocations: 99.55 kB / 0.7046 GB, free: 4.688 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002032/0.202, allocations: 222.8 kB / 0.7048 GB, free: 4.469 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00087/0.2029, allocations: 0.7633 MB / 0.7055 GB, free: 3.703 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2029, allocations: 0 / 0.7055 GB, free: 3.703 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2029, allocations: 0 / 0.7055 GB, free: 3.703 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.164e-06/0.2029, allocations: 0 / 0.7055 GB, free: 3.703 MB / 0.545 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.001123/0.204, allocations: 0.833 MB / 0.7063 GB, free: 2.82 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.971e-05/0.2041, allocations: 12.03 kB / 0.7063 GB, free: 2.809 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.2042, allocations: 60.22 kB / 0.7064 GB, free: 2.75 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005123/0.2047, allocations: 409.5 kB / 0.7068 GB, free: 2.312 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.2047, allocations: 20.44 kB / 0.7068 GB, free: 2.289 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.05e-05/0.2048, allocations: 28 kB / 0.7068 GB, free: 2.262 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003985/0.2052, allocations: 215.2 kB / 0.707 GB, free: 2.051 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.2052, allocations: 3.938 kB / 0.707 GB, free: 2.047 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.113e-05/0.2052, allocations: 8 kB / 0.707 GB, free: 2.039 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.2052, allocations: 4 kB / 0.7071 GB, free: 2.035 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003736/0.2056, allocations: 165.6 kB / 0.7072 GB, free: 1.871 MB / 0.545 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.001483/0.2071, allocations: 0.9574 MB / 0.7081 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002925/0.2074, allocations: 130.6 kB / 0.7083 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001511/0.2076, allocations: 76.25 kB / 0.7083 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002656/0.2078, allocations: 340.5 kB / 0.7087 GB, free: 228 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.2079, allocations: 30.56 kB / 0.7087 GB, free: 188 kB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.463e-06/0.2079, allocations: 0 / 0.7087 GB, free: 188 kB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.2887/0.4966, allocations: 239.6 kB / 0.7089 GB, free: 63.06 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.4967, allocations: 53.34 kB / 0.709 GB, free: 63 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007076/0.4974, allocations: 474.8 kB / 0.7094 GB, free: 62.88 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.286e-05/0.4974, allocations: 30.92 kB / 0.7095 GB, free: 62.85 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001542/0.4976, allocations: 224.7 kB / 0.7097 GB, free: 62.77 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.127e-05/0.4976, allocations: 50.42 kB / 0.7097 GB, free: 62.77 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.4977, allocations: 66.84 kB / 0.7098 GB, free: 62.75 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.014e-05/0.4978, allocations: 354.2 kB / 0.7101 GB, free: 62.44 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001977/0.498, allocations: 73.86 kB / 0.7102 GB, free: 62.43 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000258/0.4983, allocations: 150.9 kB / 0.7103 GB, free: 62.36 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003407/0.4987, allocations: 162.8 kB / 0.7105 GB, free: 62.34 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.4987, allocations: 4.594 kB / 0.7105 GB, free: 62.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005905/0.4993, allocations: 248.6 kB / 0.7107 GB, free: 62.31 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.4993, allocations: 5.375 kB / 0.7107 GB, free: 62.31 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.4993, allocations: 1.219 kB / 0.7107 GB, free: 62.31 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.374e-05/0.4994, allocations: 5.547 kB / 0.7107 GB, free: 62.31 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000248/0.4996, allocations: 48.45 kB / 0.7108 GB, free: 62.31 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.4996, allocations: 4.484 kB / 0.7108 GB, free: 62.31 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003145/0.5, allocations: 36.47 kB / 0.7108 GB, free: 62.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.231e-05/0.5, allocations: 12.28 kB / 0.7108 GB, free: 62.3 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002677/0.5003, allocations: 196.2 kB / 0.711 GB, free: 62.22 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000227/0.5005, allocations: 155.2 kB / 0.7112 GB, free: 62.14 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000311/0.5008, allocations: 176.1 kB / 0.7113 GB, free: 62.08 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.163e-06/0.5008, allocations: 0 / 0.7113 GB, free: 62.08 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004499/0.5013, allocations: 255.1 kB / 0.7116 GB, free: 61.98 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.935e-06/0.5013, allocations: 8.406 kB / 0.7116 GB, free: 61.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.444e-06/0.5013, allocations: 2.594 kB / 0.7116 GB, free: 61.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.417e-06/0.5013, allocations: 3.938 kB / 0.7116 GB, free: 61.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001807/0.5015, allocations: 47.52 kB / 0.7116 GB, free: 61.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.5015, allocations: 4.188 kB / 0.7117 GB, free: 61.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003093/0.5018, allocations: 38.5 kB / 0.7117 GB, free: 61.97 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.5019, allocations: 9.781 kB / 0.7117 GB, free: 61.97 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.766e-05/0.5019, allocations: 192.1 kB / 0.7119 GB, free: 61.78 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.462e-05/0.502, allocations: 43.84 kB / 0.7119 GB, free: 61.75 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005044/0.5025, allocations: 257 kB / 0.7122 GB, free: 61.65 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.5025, allocations: 3.125 kB / 0.7122 GB, free: 61.65 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.5026, allocations: 7.5 kB / 0.7122 GB, free: 61.65 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.5026, allocations: 1.469 kB / 0.7122 GB, free: 61.65 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000801/0.5034, allocations: 0.7027 MB / 0.7129 GB, free: 61.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.5034, allocations: 3.344 kB / 0.7129 GB, free: 61.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.5035, allocations: 29.14 kB / 0.7129 GB, free: 61.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.5035, allocations: 1.531 kB / 0.7129 GB, free: 61.18 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.5035, allocations: 11.19 kB / 0.7129 GB, free: 61.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.5035, allocations: 3.375 kB / 0.7129 GB, free: 61.18 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.5035, allocations: 3.938 kB / 0.7129 GB, free: 61.18 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003716/0.5039, allocations: 337 kB / 0.7132 GB, free: 60.95 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.227e-05/0.504, allocations: 138.2 kB / 0.7134 GB, free: 60.82 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.157e-05/0.5041, allocations: 2.969 kB / 0.7134 GB, free: 60.82 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001993/0.5043, allocations: 16.73 kB / 0.7134 GB, free: 60.82 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.607e-05/0.5043, allocations: 9.188 kB / 0.7134 GB, free: 60.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.5044, allocations: 14.97 kB / 0.7134 GB, free: 60.81 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002657/0.5046, allocations: 346 kB / 0.7137 GB, free: 60.65 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5046, allocations: 0 / 0.7137 GB, free: 60.65 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005962/0.5052, allocations: 202.6 kB / 0.7139 GB, free: 60.62 MB / 0.545 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 (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.001016/0.5063, allocations: 478.2 kB / 0.7144 GB, free: 60.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005708/0.5068, allocations: 279.9 kB / 0.7147 GB, free: 60.43 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.5069, allocations: 0 / 0.7147 GB, free: 60.43 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001621/0.507, allocations: 81.83 kB / 0.7147 GB, free: 60.41 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.508, allocations: 203.4 kB / 0.7149 GB, free: 60.36 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.5091, allocations: 0.7562 MB / 0.7157 GB, free: 59.92 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.5093, allocations: 0.8279 MB / 0.7165 GB, free: 59.21 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.88e-05/0.5094, allocations: 45.09 kB / 0.7165 GB, free: 59.21 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.5094, allocations: 0 / 0.7165 GB, free: 59.21 MB / 0.545 GB Notification: Performance of Templates: time 0.008988/0.5184, allocations: 7.318 MB / 0.7237 GB, free: 58.38 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)