Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.00423/0.00423, allocations: 104.8 kB / 15.74 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.0009893/0.0009894, allocations: 197.2 kB / 16.68 MB, free: 6.371 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.3/1.3, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9411/0.9411, allocations: 143 MB / 433.6 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 63.91 kB / 0.5955 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3583, allocations: 82.02 MB / 0.6756 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.0153/0.3736, allocations: 15.54 MB / 0.6908 GB, free: 5.012 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006155/0.3798, allocations: 4.337 MB / 0.695 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004755/0.3803, allocations: 11.97 kB / 0.6951 GB, free: 1.512 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008646/0.3813, allocations: 270 kB / 0.6953 GB, free: 1.297 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001322/0.3826, allocations: 0.599 MB / 0.6959 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001723/0.3843, allocations: 0.715 MB / 0.6966 GB, free: 320 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001134/0.3855, allocations: 1.028 MB / 0.6976 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005081/0.386, allocations: 336.1 kB / 0.6979 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006279/0.3866, allocations: 436.4 kB / 0.6983 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003951/0.387, allocations: 326.5 kB / 0.6986 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.312e-05/0.3871, allocations: 28 kB / 0.6987 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001053/0.3882, allocations: 0.6317 MB / 0.6993 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.85e-05/0.3883, allocations: 99.66 kB / 0.6994 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001964/0.3885, allocations: 226.7 kB / 0.6996 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0009468/0.3894, allocations: 0.7846 MB / 0.7004 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3894, allocations: 0 / 0.7004 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.664e-06/0.3895, allocations: 0 / 0.7004 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.3895, allocations: 0 / 0.7004 GB, free: 13.1 MB / 0.5294 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.001161/0.3906, allocations: 0.833 MB / 0.7012 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.3907, allocations: 8.031 kB / 0.7012 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/0.3908, allocations: 56.28 kB / 0.7012 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006463/0.3915, allocations: 433.4 kB / 0.7017 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.3915, allocations: 20.44 kB / 0.7017 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.356e-05/0.3915, allocations: 27.98 kB / 0.7017 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004242/0.392, allocations: 219.2 kB / 0.7019 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.392, allocations: 0 / 0.7019 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.193e-05/0.392, allocations: 11.94 kB / 0.7019 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.392, allocations: 8 kB / 0.7019 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003641/0.3924, allocations: 161.6 kB / 0.7021 GB, free: 11.24 MB / 0.5294 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.001507/0.3939, allocations: 0.9502 MB / 0.703 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003089/0.3943, allocations: 130.5 kB / 0.7031 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/0.3944, allocations: 72.81 kB / 0.7032 GB, free: 10 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003004/0.3947, allocations: 332.4 kB / 0.7035 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.3948, allocations: 34.56 kB / 0.7036 GB, free: 9.562 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.3948, allocations: 0 / 0.7036 GB, free: 9.562 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.0006127/0.3954, allocations: 241 kB / 0.7038 GB, free: 9.32 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.3954, allocations: 55.41 kB / 0.7038 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004735/0.3959, allocations: 474 kB / 0.7043 GB, free: 8.781 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.693e-05/0.3959, allocations: 29.7 kB / 0.7043 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/0.3961, allocations: 240.5 kB / 0.7046 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.191e-05/0.3962, allocations: 47.42 kB / 0.7046 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.983e-05/0.3962, allocations: 57.69 kB / 0.7047 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.3964, allocations: 358.7 kB / 0.705 GB, free: 8.035 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/0.3966, allocations: 68.81 kB / 0.7051 GB, free: 7.965 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002376/0.3968, allocations: 156.8 kB / 0.7052 GB, free: 7.785 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003362/0.3972, allocations: 168 kB / 0.7054 GB, free: 7.613 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.3972, allocations: 0 / 0.7054 GB, free: 7.613 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004864/0.3977, allocations: 258.7 kB / 0.7056 GB, free: 7.355 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.3977, allocations: 4.094 kB / 0.7056 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.3977, allocations: 7.938 kB / 0.7056 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.3977, allocations: 0 / 0.7056 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002347/0.398, allocations: 47.91 kB / 0.7057 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.398, allocations: 0 / 0.7057 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002867/0.3983, allocations: 43.73 kB / 0.7057 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.685e-05/0.3983, allocations: 8 kB / 0.7057 GB, free: 7.246 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000262/0.3986, allocations: 192.1 kB / 0.7059 GB, free: 7.055 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002206/0.3988, allocations: 159.7 kB / 0.7061 GB, free: 6.867 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003247/0.3991, allocations: 172.1 kB / 0.7062 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.082e-06/0.3991, allocations: 3.938 kB / 0.7062 GB, free: 6.68 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004721/0.3996, allocations: 256.8 kB / 0.7065 GB, free: 6.426 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.664e-06/0.3996, allocations: 8.062 kB / 0.7065 GB, free: 6.418 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-06/0.3996, allocations: 0 / 0.7065 GB, free: 6.418 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-06/0.3997, allocations: 4 kB / 0.7065 GB, free: 6.414 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001963/0.3999, allocations: 51.91 kB / 0.7065 GB, free: 6.363 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.355e-06/0.3999, allocations: 0 / 0.7065 GB, free: 6.363 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003111/0.4002, allocations: 35.88 kB / 0.7066 GB, free: 6.328 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/0.4002, allocations: 11.98 kB / 0.7066 GB, free: 6.316 MB / 0.5294 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 0.0001115/0.4003, allocations: 200.1 kB / 0.7068 GB, free: 6.113 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.57e-05/0.4004, allocations: 43.44 kB / 0.7068 GB, free: 6.07 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005021/0.4009, allocations: 243 kB / 0.707 GB, free: 5.832 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-06/0.4009, allocations: 3.984 kB / 0.707 GB, free: 5.828 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.4009, allocations: 0 / 0.707 GB, free: 5.828 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.4009, allocations: 0 / 0.707 GB, free: 5.828 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009079/0.4018, allocations: 0.7121 MB / 0.7077 GB, free: 5.047 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.4019, allocations: 4 kB / 0.7077 GB, free: 5.043 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001329/0.402, allocations: 28.11 kB / 0.7078 GB, free: 5.016 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.402, allocations: 7.984 kB / 0.7078 GB, free: 5.008 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.402, allocations: 4 kB / 0.7078 GB, free: 5.004 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.145e-06/0.402, allocations: 8.062 kB / 0.7078 GB, free: 4.996 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.402, allocations: 3.984 kB / 0.7078 GB, free: 4.992 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004342/0.4025, allocations: 338.4 kB / 0.7081 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.4026, allocations: 148.4 kB / 0.7083 GB, free: 4.469 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.922e-05/0.4027, allocations: 4 kB / 0.7083 GB, free: 4.465 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002022/0.4029, allocations: 23.86 kB / 0.7083 GB, free: 4.441 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.843e-05/0.4029, allocations: 7.984 kB / 0.7083 GB, free: 4.434 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.403, allocations: 12 kB / 0.7083 GB, free: 4.422 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003282/0.4033, allocations: 330.9 kB / 0.7086 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4033, allocations: 0 / 0.7086 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005798/0.4039, allocations: 203.7 kB / 0.7088 GB, free: 3.902 MB / 0.5294 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.001001/0.4049, allocations: 483.8 kB / 0.7093 GB, free: 3.562 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005974/0.4055, allocations: 271.6 kB / 0.7095 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.4055, allocations: 0 / 0.7095 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001751/0.4057, allocations: 88.2 kB / 0.7096 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009365/0.4066, allocations: 193.4 kB / 0.7098 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.4077, allocations: 0.7089 MB / 0.7105 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.408, allocations: 0.827 MB / 0.7113 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002236/0.4082, allocations: 87.52 kB / 0.7114 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.905e-05/0.4083, allocations: 43.42 kB / 0.7114 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of SimCode: time 2.3e-07/0.4083, allocations: 0 / 0.7114 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of Templates: time 0.01266/0.421, allocations: 8.608 MB / 0.7198 GB, free: 8.824 MB / 0.545 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)