Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001293/0.001293, allocations: 107.5 kB / 16.41 MB, free: 6.496 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.00127/0.00127, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.376/1.376, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002982/0.002982, allocations: 288.6 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9987/0.9987, allocations: 169.2 MB / 0.499 GB, free: 4.406 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 92.19 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4622/0.4642, allocations: 86.98 MB / 0.767 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02046/0.4847, allocations: 17.44 MB / 0.7841 GB, free: 2.379 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007275/0.492, allocations: 4.928 MB / 0.7889 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006587/0.4927, allocations: 15.88 kB / 0.7889 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009191/0.4936, allocations: 250.4 kB / 0.7891 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001695/0.4954, allocations: 0.6179 MB / 0.7897 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002052/0.4974, allocations: 0.7297 MB / 0.7905 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001533/0.499, allocations: 0.9585 MB / 0.7914 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006435/0.4996, allocations: 336.9 kB / 0.7917 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009184/0.5006, allocations: 422.3 kB / 0.7921 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006095/0.5012, allocations: 314.6 kB / 0.7924 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000108/0.5013, allocations: 32 kB / 0.7924 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001406/0.5027, allocations: 0.733 MB / 0.7932 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001793/0.5029, allocations: 127.6 kB / 0.7933 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003379/0.5033, allocations: 242.6 kB / 0.7935 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001534/0.5048, allocations: 0.8875 MB / 0.7944 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.5048, allocations: 4 kB / 0.7944 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.92e-07/0.5048, allocations: 0 / 0.7944 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.748e-05/0.5048, allocations: 4 kB / 0.7944 GB, free: 7.785 MB / 0.5606 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.001487/0.5063, allocations: 0.8757 MB / 0.7952 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.5064, allocations: 8.031 kB / 0.7953 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002137/0.5066, allocations: 68.17 kB / 0.7953 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008324/0.5074, allocations: 461.7 kB / 0.7958 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.408e-05/0.5075, allocations: 24.5 kB / 0.7958 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.49e-05/0.5075, allocations: 28 kB / 0.7958 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005403/0.5081, allocations: 282.3 kB / 0.7961 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.5081, allocations: 3.938 kB / 0.7961 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.392e-05/0.5081, allocations: 12 kB / 0.7961 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.5082, allocations: 8 kB / 0.7961 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004219/0.5086, allocations: 186.1 kB / 0.7963 GB, free: 5.746 MB / 0.5606 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.002041/0.5106, allocations: 1.48 MB / 0.7977 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003199/0.511, allocations: 165.5 kB / 0.7979 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001803/0.5112, allocations: 88.8 kB / 0.798 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001594/0.5128, allocations: 1.276 MB / 0.7992 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.5128, allocations: 38.5 kB / 0.7992 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.302e-06/0.5128, allocations: 0 / 0.7992 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0006584/0.5135, allocations: 252 kB / 0.7995 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.5135, allocations: 55.39 kB / 0.7995 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007016/0.5142, allocations: 0.5809 MB / 0.8001 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.85e-05/0.5143, allocations: 29.7 kB / 0.8001 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002145/0.5145, allocations: 280 kB / 0.8004 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.824e-05/0.5146, allocations: 51.27 kB / 0.8005 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.739e-05/0.5147, allocations: 69.88 kB / 0.8005 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.5148, allocations: 358.8 kB / 0.8009 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001907/0.515, allocations: 77.94 kB / 0.8009 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002784/0.5153, allocations: 206.8 kB / 0.8011 GB, free: 364 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004065/0.5157, allocations: 245.2 kB / 0.8014 GB, free: 84 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.5157, allocations: 0 / 0.8014 GB, free: 84 kB / 0.5606 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006183/0.5163, allocations: 310.8 kB / 0.8017 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.5164, allocations: 15.92 kB / 0.8017 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.5164, allocations: 256 / 0.8017 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.5164, allocations: 8 kB / 0.8017 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002552/0.5167, allocations: 60 kB / 0.8017 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.5167, allocations: 11.94 kB / 0.8018 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003306/0.517, allocations: 39.67 kB / 0.8018 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.669e-05/0.5171, allocations: 19.98 kB / 0.8018 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003106/0.5174, allocations: 215 kB / 0.802 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002834/0.5177, allocations: 210.1 kB / 0.8022 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003735/0.5181, allocations: 231.1 kB / 0.8024 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.134e-06/0.5181, allocations: 0 / 0.8024 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005797/0.5187, allocations: 304.7 kB / 0.8027 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.5187, allocations: 8 kB / 0.8027 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.5187, allocations: 3.938 kB / 0.8027 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.841e-06/0.5187, allocations: 8.25 kB / 0.8027 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002214/0.5189, allocations: 63.91 kB / 0.8028 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.519, allocations: 4 kB / 0.8028 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003435/0.5193, allocations: 35.81 kB / 0.8028 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.667e-05/0.5193, allocations: 16 kB / 0.8029 GB, free: 14.46 MB / 0.5762 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.0001356/0.5195, allocations: 208.1 kB / 0.8031 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.276e-05/0.5196, allocations: 55.22 kB / 0.8031 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005352/0.5201, allocations: 252.2 kB / 0.8034 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.427e-06/0.5201, allocations: 3.984 kB / 0.8034 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.5201, allocations: 4 kB / 0.8034 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.5202, allocations: 0 / 0.8034 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.5212, allocations: 0.7355 MB / 0.8041 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.5212, allocations: 192 / 0.8041 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.5213, allocations: 31.92 kB / 0.8041 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.5213, allocations: 4 kB / 0.8041 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/0.5214, allocations: 11.97 kB / 0.8041 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.5214, allocations: 0 / 0.8041 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.5214, allocations: 0 / 0.8041 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005128/0.5219, allocations: 366.1 kB / 0.8045 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001476/0.5221, allocations: 140.5 kB / 0.8046 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.375e-05/0.5221, allocations: 12 kB / 0.8046 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/0.5223, allocations: 11.98 kB / 0.8046 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.927e-05/0.5224, allocations: 15.92 kB / 0.8046 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.5224, allocations: 8 kB / 0.8047 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004584/0.5229, allocations: 418.8 kB / 0.8051 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5229, allocations: 0 / 0.8051 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007465/0.5236, allocations: 231.7 kB / 0.8053 GB, free: 11.86 MB / 0.5762 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 (17): * Single equations (assignments): 15 * 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.001221/0.5249, allocations: 0.4977 MB / 0.8058 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006957/0.5256, allocations: 310.2 kB / 0.8061 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.5256, allocations: 4.938 kB / 0.8061 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002064/0.5258, allocations: 96.02 kB / 0.8062 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001148/0.527, allocations: 254 kB / 0.8064 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.5283, allocations: 0.8383 MB / 0.8072 GB, free: 9.957 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004463/0.5288, allocations: 0.8428 MB / 0.808 GB, free: 9.086 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.5289, allocations: 43.42 kB / 0.8081 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of SimCode: time 2.3e-07/0.5289, allocations: 0 / 0.8081 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of Templates: time 0.01438/0.5433, allocations: 8.64 MB / 0.8165 GB, free: 0.5 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)