Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001609/0.001609, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.465/1.465, allocations: 205.4 MB / 222.1 MB, free: 5.504 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.679/1.679, allocations: 292.5 MB / 0.5497 GB, free: 14.6 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.0005198/0.0005198, allocations: 16.62 kB / 0.6735 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2241, allocations: 116.3 MB / 0.7871 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01698/0.2411, allocations: 16.51 MB / 0.8032 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01096/0.2521, allocations: 7.32 MB / 0.8104 GB, free: 4.051 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007208/0.2529, allocations: 19.81 kB / 0.8104 GB, free: 4.031 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001129/0.254, allocations: 382.2 kB / 0.8108 GB, free: 3.656 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001979/0.256, allocations: 0.7945 MB / 0.8116 GB, free: 2.863 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005131/0.2611, allocations: 2.181 MB / 0.8137 GB, free: 0.7109 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001523/0.2627, allocations: 0.9426 MB / 0.8146 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005286/0.2632, allocations: 419.2 kB / 0.815 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006924/0.2639, allocations: 0.4983 MB / 0.8155 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004387/0.2644, allocations: 394.3 kB / 0.8159 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 5.966e-05/0.2644, allocations: 28 kB / 0.8159 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001103/0.2655, allocations: 0.6435 MB / 0.8165 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.2657, allocations: 127.5 kB / 0.8166 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001259/0.2658, allocations: 153.3 kB / 0.8168 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00074/0.2666, allocations: 0.7404 MB / 0.8175 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.2666, allocations: 3.938 kB / 0.8175 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.012e-06/0.2666, allocations: 4 kB / 0.8175 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.2666, allocations: 0 / 0.8175 GB, free: 12.75 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001552/0.2681, allocations: 0.985 MB / 0.8185 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.2682, allocations: 8.031 kB / 0.8185 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001149/0.2683, allocations: 79.06 kB / 0.8186 GB, free: 11.63 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000633/0.2689, allocations: 486.6 kB / 0.819 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.1e-05/0.269, allocations: 40.94 kB / 0.8191 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.009e-05/0.2691, allocations: 48 kB / 0.8191 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009395/0.27, allocations: 0.6411 MB / 0.8197 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.27, allocations: 7.938 kB / 0.8197 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.101e-05/0.2701, allocations: 16 kB / 0.8198 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.2701, allocations: 12 kB / 0.8198 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009771/0.2711, allocations: 0.5112 MB / 0.8203 GB, free: 9.77 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.003047/0.2741, allocations: 3.193 MB / 0.8234 GB, free: 6.379 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006423/0.2748, allocations: 362.7 kB / 0.8237 GB, free: 6.016 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003198/0.2751, allocations: 344.4 kB / 0.8241 GB, free: 5.605 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.2751, allocations: 38.56 kB / 0.8241 GB, free: 5.559 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=38): time 1.623e-06/0.2752, allocations: 0 / 0.8241 GB, free: 5.559 MB / 0.6387 GB Notification: Performance of matching and sorting (n=38): time 0.00199/0.2772, allocations: 0.8542 MB / 0.8249 GB, free: 4.676 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.2772, allocations: 59.36 kB / 0.825 GB, free: 4.605 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005889/0.2778, allocations: 0.586 MB / 0.8256 GB, free: 4.012 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.867e-05/0.2778, allocations: 33.7 kB / 0.8256 GB, free: 3.973 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000215/0.2781, allocations: 328.4 kB / 0.8259 GB, free: 3.648 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 9.172e-05/0.2782, allocations: 130.2 kB / 0.826 GB, free: 3.52 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.503e-05/0.2782, allocations: 12 kB / 0.826 GB, free: 3.508 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.2783, allocations: 374.8 kB / 0.8264 GB, free: 3.133 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004529/0.2788, allocations: 217.2 kB / 0.8266 GB, free: 2.918 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005362/0.2793, allocations: 376 kB / 0.827 GB, free: 2.492 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004964/0.2799, allocations: 260.7 kB / 0.8272 GB, free: 2.234 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.2799, allocations: 4 kB / 0.8272 GB, free: 2.23 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001283/0.2812, allocations: 0.7263 MB / 0.8279 GB, free: 1.496 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005775/0.2817, allocations: 1.744 MB / 0.8296 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.2818, allocations: 7.938 kB / 0.8296 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005669/0.2823, allocations: 152.8 kB / 0.8298 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006255/0.283, allocations: 155.8 kB / 0.8299 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006164/0.2836, allocations: 0.6226 MB / 0.8305 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005582/0.2842, allocations: 111.2 kB / 0.8306 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.977e-05/0.2842, allocations: 31.98 kB / 0.8307 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 9.017e-06/0.2843, allocations: 4 kB / 0.8307 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001207/0.2855, allocations: 0.6234 MB / 0.8313 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.2855, allocations: 4 kB / 0.8313 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.647e-06/0.2855, allocations: 8 kB / 0.8313 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005759/0.2861, allocations: 171.7 kB / 0.8315 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.2861, allocations: 4 kB / 0.8315 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005027/0.2866, allocations: 87.52 kB / 0.8316 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.352e-05/0.2867, allocations: 31.98 kB / 0.8316 GB, free: 13.59 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (70): * Single equations (assignments): 69 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003027/0.287, allocations: 277.6 kB / 0.8318 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.427e-05/0.2871, allocations: 63.25 kB / 0.8319 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001379/0.2884, allocations: 0.6723 MB / 0.8326 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.314e-05/0.2885, allocations: 7.984 kB / 0.8326 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.2885, allocations: 0 / 0.8326 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.2885, allocations: 4 kB / 0.8326 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00233/0.2908, allocations: 1.397 MB / 0.8339 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.2908, allocations: 4 kB / 0.8339 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003486/0.2912, allocations: 91.88 kB / 0.834 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004132/0.2916, allocations: 140.8 kB / 0.8342 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.36e-05/0.2917, allocations: 12 kB / 0.8342 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005715/0.2922, allocations: 0.6382 MB / 0.8348 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.2923, allocations: 4.031 kB / 0.8348 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001203/0.2935, allocations: 0.7567 MB / 0.8355 GB, free: 9.359 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002328/0.2937, allocations: 208 kB / 0.8357 GB, free: 9.137 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.252e-05/0.2938, allocations: 4 kB / 0.8357 GB, free: 9.133 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004173/0.2942, allocations: 55.95 kB / 0.8358 GB, free: 9.078 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.904e-05/0.2943, allocations: 35.89 kB / 0.8358 GB, free: 9.043 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.56e-05/0.2943, allocations: 19.98 kB / 0.8359 GB, free: 9.023 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004276/0.2948, allocations: 395 kB / 0.8362 GB, free: 8.645 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.81e-07/0.2948, allocations: 0 / 0.8362 GB, free: 8.645 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001117/0.2959, allocations: 379.4 kB / 0.8366 GB, free: 8.273 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (41): * Single equations (assignments): 38 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006563/0.2966, allocations: 300.2 kB / 0.8369 GB, free: 7.98 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001907/0.2985, allocations: 0.9214 MB / 0.8378 GB, free: 7.059 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2985, allocations: 0 / 0.8378 GB, free: 7.059 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006402/0.2991, allocations: 300.2 kB / 0.8381 GB, free: 6.766 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/0.3004, allocations: 269.7 kB / 0.8383 GB, free: 6.504 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001784/0.3022, allocations: 1.279 MB / 0.8396 GB, free: 5.195 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004386/0.3027, allocations: 0.9233 MB / 0.8405 GB, free: 4.246 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005174/0.3032, allocations: 152.5 kB / 0.8406 GB, free: 4.102 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.3033, allocations: 63.41 kB / 0.8407 GB, free: 4.039 MB / 0.6544 GB Notification: Performance of SimCode: time 7.71e-07/0.3033, allocations: 4 kB / 0.8407 GB, free: 4.035 MB / 0.6544 GB Notification: Performance of Templates: time 0.0188/0.3222, allocations: 11.82 MB / 0.8522 GB, free: 8.379 MB / 0.67 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1) Environment - environmentSimulation: