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.001127/0.001127, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.01123/0.01123, allocations: 170.8 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.774/1.774, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.776/1.776, allocations: 292.7 MB / 0.5502 GB, free: 14.49 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.000707/0.0007073, allocations: 24.28 kB / 0.6743 GB, free: 25.75 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2715, allocations: 116.3 MB / 0.7879 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.02202/0.2936, allocations: 15.12 MB / 0.8026 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01403/0.3077, allocations: 7.368 MB / 0.8098 GB, free: 5.008 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001148/0.3089, allocations: 15.88 kB / 0.8099 GB, free: 4.992 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001292/0.3102, allocations: 222.8 kB / 0.8101 GB, free: 4.773 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002252/0.3125, allocations: 0.5521 MB / 0.8106 GB, free: 4.219 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002185/0.3147, allocations: 0.6182 MB / 0.8112 GB, free: 3.609 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001869/0.3166, allocations: 1.302 MB / 0.8125 GB, free: 2.305 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006285/0.3172, allocations: 283.9 kB / 0.8127 GB, free: 2.023 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008433/0.318, allocations: 366.4 kB / 0.8131 GB, free: 1.664 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005307/0.3186, allocations: 314.5 kB / 0.8134 GB, free: 1.355 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 4.619e-05/0.3186, allocations: 16 kB / 0.8134 GB, free: 1.34 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001173/0.3198, allocations: 0.5848 MB / 0.814 GB, free: 0.7539 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.32, allocations: 91.53 kB / 0.8141 GB, free: 0.6641 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002421/0.3202, allocations: 228.5 kB / 0.8143 GB, free: 444 kB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001163/0.3214, allocations: 0.7242 MB / 0.815 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.3214, allocations: 4 kB / 0.815 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.983e-06/0.3214, allocations: 0 / 0.815 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.312e-05/0.3214, allocations: 0 / 0.815 GB, free: 15.7 MB / 0.6387 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.001186/0.3226, allocations: 0.7474 MB / 0.8157 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.3227, allocations: 12.02 kB / 0.8157 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.822e-05/0.3228, allocations: 56.28 kB / 0.8158 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00054/0.3233, allocations: 405 kB / 0.8162 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/0.3233, allocations: 20.44 kB / 0.8162 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.87e-05/0.3234, allocations: 28 kB / 0.8162 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004588/0.3239, allocations: 219.2 kB / 0.8164 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.3239, allocations: 0 / 0.8164 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.288e-05/0.3239, allocations: 8 kB / 0.8164 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.3239, allocations: 4 kB / 0.8164 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003735/0.3243, allocations: 181.6 kB / 0.8166 GB, free: 13.95 MB / 0.6387 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.001647/0.326, allocations: 0.9535 MB / 0.8176 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00029/0.3263, allocations: 138.6 kB / 0.8177 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001751/0.3265, allocations: 76.75 kB / 0.8178 GB, free: 12.69 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002977/0.3268, allocations: 344.5 kB / 0.8181 GB, free: 12.28 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.3268, allocations: 34.56 kB / 0.8181 GB, free: 12.24 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=14): time 1.292e-06/0.3268, allocations: 0 / 0.8181 GB, free: 12.24 MB / 0.6387 GB Notification: Performance of matching and sorting (n=14): time 0.000638/0.3275, allocations: 254.2 kB / 0.8184 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.303e-05/0.3275, allocations: 51.41 kB / 0.8184 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005136/0.328, allocations: 470 kB / 0.8189 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.799e-05/0.3281, allocations: 25.7 kB / 0.8189 GB, free: 11.42 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001842/0.3283, allocations: 228.6 kB / 0.8191 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.888e-05/0.3283, allocations: 47.3 kB / 0.8191 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.275e-05/0.3284, allocations: 33.64 kB / 0.8192 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.3285, allocations: 358.7 kB / 0.8195 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001856/0.3287, allocations: 75.81 kB / 0.8196 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002714/0.329, allocations: 159.7 kB / 0.8197 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003715/0.3294, allocations: 181.2 kB / 0.8199 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.175e-06/0.3294, allocations: 4 kB / 0.8199 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005486/0.33, allocations: 261 kB / 0.8202 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 7.816e-05/0.3301, allocations: 106.7 kB / 0.8203 GB, free: 9.926 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.3301, allocations: 4 kB / 0.8203 GB, free: 9.922 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.3301, allocations: 0 / 0.8203 GB, free: 9.922 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002282/0.3303, allocations: 51.84 kB / 0.8203 GB, free: 9.871 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.417e-06/0.3303, allocations: 4 kB / 0.8203 GB, free: 9.867 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003304/0.3307, allocations: 51.72 kB / 0.8204 GB, free: 9.816 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.182e-05/0.3307, allocations: 15.98 kB / 0.8204 GB, free: 9.801 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.061e-06/0.3307, allocations: 4 kB / 0.8204 GB, free: 9.797 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003885/0.3311, allocations: 186.9 kB / 0.8206 GB, free: 9.617 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.983e-06/0.3311, allocations: 0 / 0.8206 GB, free: 9.617 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.996e-06/0.3311, allocations: 8 kB / 0.8206 GB, free: 9.609 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001815/0.3313, allocations: 43.97 kB / 0.8206 GB, free: 9.566 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-06/0.3313, allocations: 3.938 kB / 0.8206 GB, free: 9.562 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002954/0.3316, allocations: 47.66 kB / 0.8207 GB, free: 9.516 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/0.3317, allocations: 16 kB / 0.8207 GB, free: 9.5 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002036/0.3319, allocations: 237.7 kB / 0.8209 GB, free: 9.258 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.509e-05/0.332, allocations: 39.53 kB / 0.821 GB, free: 9.219 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005601/0.3325, allocations: 261.1 kB / 0.8212 GB, free: 8.953 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/0.3325, allocations: 3.984 kB / 0.8212 GB, free: 8.949 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.3326, allocations: 0 / 0.8212 GB, free: 8.949 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.3326, allocations: 0 / 0.8212 GB, free: 8.949 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009708/0.3335, allocations: 0.7234 MB / 0.8219 GB, free: 8.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.3336, allocations: 0 / 0.8219 GB, free: 8.16 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/0.3337, allocations: 31.92 kB / 0.8219 GB, free: 8.129 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.3337, allocations: 4 kB / 0.8219 GB, free: 8.125 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.3337, allocations: 12.12 kB / 0.822 GB, free: 8.113 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.646e-06/0.3337, allocations: 7.875 kB / 0.822 GB, free: 8.105 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3337, allocations: 4 kB / 0.822 GB, free: 8.102 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004451/0.3342, allocations: 350.3 kB / 0.8223 GB, free: 7.73 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.3343, allocations: 144.5 kB / 0.8224 GB, free: 7.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.529e-05/0.3344, allocations: 7.938 kB / 0.8225 GB, free: 7.562 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002228/0.3346, allocations: 31.91 kB / 0.8225 GB, free: 7.531 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.704e-05/0.3347, allocations: 11.98 kB / 0.8225 GB, free: 7.52 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.3347, allocations: 4 kB / 0.8225 GB, free: 7.516 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003278/0.335, allocations: 330.9 kB / 0.8228 GB, free: 7.195 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.8e-07/0.335, allocations: 0 / 0.8228 GB, free: 7.195 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006234/0.3356, allocations: 199.7 kB / 0.823 GB, free: 7 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 (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.001068/0.3367, allocations: 476.3 kB / 0.8235 GB, free: 6.66 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0006284/0.3374, allocations: 294.4 kB / 0.8237 GB, free: 6.375 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.3374, allocations: 0 / 0.8237 GB, free: 6.375 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001937/0.3376, allocations: 88.14 kB / 0.8238 GB, free: 6.289 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001342/0.3389, allocations: 218.9 kB / 0.824 GB, free: 6.078 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.3402, allocations: 0.8584 MB / 0.8249 GB, free: 5.184 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004747/0.3407, allocations: 0.8272 MB / 0.8257 GB, free: 4.332 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002934/0.341, allocations: 91.39 kB / 0.8258 GB, free: 4.242 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.081e-05/0.3411, allocations: 35.42 kB / 0.8258 GB, free: 4.207 MB / 0.6387 GB Notification: Performance of SimCode: time 9.12e-07/0.3411, allocations: 7.938 kB / 0.8258 GB, free: 4.199 MB / 0.6387 GB Notification: Performance of Templates: time 0.01582/0.3569, allocations: 8.347 MB / 0.834 GB, free: 11.98 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: