Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.555/1.555, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001135/0.001135, allocations: 179.1 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.762/1.762, allocations: 205.4 MB / 0.5775 GB, free: 20.56 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008833/0.0008832, allocations: 97.17 kB / 0.6821 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003716, allocations: 9.406 kB / 0.7963 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2452, allocations: 106.3 MB / 0.9002 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01305/0.2583, allocations: 16.53 MB / 0.9163 GB, free: 47.82 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00956/0.2679, allocations: 7.299 MB / 0.9234 GB, free: 40.51 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001096/0.2691, allocations: 27.69 kB / 0.9235 GB, free: 40.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001238/0.2703, allocations: 378.3 kB / 0.9238 GB, free: 40.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00248/0.2728, allocations: 0.7926 MB / 0.9246 GB, free: 39.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.006704/0.2795, allocations: 2.126 MB / 0.9267 GB, free: 37.21 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002426/0.282, allocations: 0.9581 MB / 0.9276 GB, free: 36.25 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006633/0.2827, allocations: 415.2 kB / 0.928 GB, free: 35.83 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008212/0.2835, allocations: 0.4983 MB / 0.9285 GB, free: 35.33 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004147/0.2839, allocations: 398.3 kB / 0.9289 GB, free: 34.94 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.684e-05/0.284, allocations: 28 kB / 0.9289 GB, free: 34.91 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001169/0.2851, allocations: 0.6318 MB / 0.9295 GB, free: 34.28 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.2853, allocations: 123.5 kB / 0.9296 GB, free: 34.16 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001552/0.2854, allocations: 153.3 kB / 0.9298 GB, free: 34 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007645/0.2862, allocations: 0.7404 MB / 0.9305 GB, free: 33.26 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.2862, allocations: 4 kB / 0.9305 GB, free: 33.26 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.084e-06/0.2862, allocations: 4 kB / 0.9305 GB, free: 33.25 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.637e-06/0.2862, allocations: 0 / 0.9305 GB, free: 33.25 MB / 0.6042 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.001611/0.2879, allocations: 0.9889 MB / 0.9315 GB, free: 32.21 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.2879, allocations: 8.031 kB / 0.9315 GB, free: 32.2 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.715e-05/0.288, allocations: 86.52 kB / 0.9316 GB, free: 32.11 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001272/0.2882, allocations: 82.97 kB / 0.9316 GB, free: 32.03 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007126/0.2889, allocations: 486.7 kB / 0.9321 GB, free: 31.51 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.164e-05/0.2889, allocations: 37 kB / 0.9321 GB, free: 31.48 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.357e-05/0.289, allocations: 48 kB / 0.9322 GB, free: 31.43 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009629/0.29, allocations: 0.6332 MB / 0.9328 GB, free: 30.73 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.29, allocations: 3.938 kB / 0.9328 GB, free: 30.73 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.374e-05/0.29, allocations: 24 kB / 0.9328 GB, free: 30.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/0.2901, allocations: 12 kB / 0.9328 GB, free: 30.69 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000927/0.291, allocations: 0.5073 MB / 0.9333 GB, free: 30.18 MB / 0.6042 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.003097/0.2941, allocations: 3.193 MB / 0.9365 GB, free: 26.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006382/0.2948, allocations: 358.8 kB / 0.9368 GB, free: 26.44 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002856/0.2951, allocations: 356.3 kB / 0.9371 GB, free: 26.02 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.2951, allocations: 34.56 kB / 0.9372 GB, free: 25.97 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=38): time 3.286e-06/0.2951, allocations: 0 / 0.9372 GB, free: 25.97 MB / 0.6042 GB Notification: Performance of matching and sorting (n=38): time 0.002071/0.2972, allocations: 0.8696 MB / 0.938 GB, free: 25.07 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.2972, allocations: 55.41 kB / 0.9381 GB, free: 25.01 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00061/0.2979, allocations: 0.5666 MB / 0.9386 GB, free: 24.43 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.877e-05/0.2979, allocations: 33.7 kB / 0.9387 GB, free: 24.39 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002069/0.2981, allocations: 332.4 kB / 0.939 GB, free: 24.06 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.362e-05/0.2982, allocations: 134 kB / 0.9391 GB, free: 23.93 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.769e-05/0.2983, allocations: 12 kB / 0.9391 GB, free: 23.92 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.2984, allocations: 370.8 kB / 0.9395 GB, free: 23.55 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004411/0.2988, allocations: 221.2 kB / 0.9397 GB, free: 23.33 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004984/0.2993, allocations: 372 kB / 0.94 GB, free: 22.91 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004836/0.2998, allocations: 256.7 kB / 0.9403 GB, free: 22.66 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.2998, allocations: 0 / 0.9403 GB, free: 22.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001251/0.3011, allocations: 0.7305 MB / 0.941 GB, free: 21.92 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003701/0.3015, allocations: 1.74 MB / 0.9427 GB, free: 20.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.3015, allocations: 11.98 kB / 0.9427 GB, free: 20.03 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000596/0.3021, allocations: 148.7 kB / 0.9428 GB, free: 19.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006121/0.3027, allocations: 151.8 kB / 0.943 GB, free: 19.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005319/0.3033, allocations: 0.6342 MB / 0.9436 GB, free: 19.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006467/0.3039, allocations: 103.1 kB / 0.9437 GB, free: 18.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-05/0.304, allocations: 35.98 kB / 0.9437 GB, free: 18.94 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.304, allocations: 4 kB / 0.9437 GB, free: 18.94 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001062/0.3051, allocations: 0.6228 MB / 0.9443 GB, free: 18.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.3051, allocations: 4.562 kB / 0.9444 GB, free: 18.31 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.005e-06/0.3051, allocations: 8 kB / 0.9444 GB, free: 18.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005415/0.3057, allocations: 163.8 kB / 0.9445 GB, free: 18.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.832e-06/0.3057, allocations: 8 kB / 0.9445 GB, free: 18.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000517/0.3062, allocations: 87.53 kB / 0.9446 GB, free: 18.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.451e-05/0.3063, allocations: 31.98 kB / 0.9446 GB, free: 18.02 MB / 0.6042 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.0002895/0.3066, allocations: 272.8 kB / 0.9449 GB, free: 17.74 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.946e-05/0.3067, allocations: 67.16 kB / 0.945 GB, free: 17.67 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001295/0.308, allocations: 0.6737 MB / 0.9456 GB, free: 16.98 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.759e-06/0.308, allocations: 4 kB / 0.9456 GB, free: 16.98 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.308, allocations: 0 / 0.9456 GB, free: 16.98 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.308, allocations: 3.984 kB / 0.9456 GB, free: 16.98 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002116/0.3101, allocations: 1.412 MB / 0.947 GB, free: 15.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.3101, allocations: 3.953 kB / 0.947 GB, free: 15.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003145/0.3105, allocations: 83.89 kB / 0.9471 GB, free: 15.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003682/0.3108, allocations: 140.8 kB / 0.9472 GB, free: 15.26 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.094e-05/0.3109, allocations: 12 kB / 0.9472 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004431/0.3113, allocations: 0.6304 MB / 0.9479 GB, free: 14.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3113, allocations: 0 / 0.9479 GB, free: 14.59 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/0.3124, allocations: 0.7645 MB / 0.9486 GB, free: 13.79 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002199/0.3127, allocations: 196.1 kB / 0.9488 GB, free: 13.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.608e-05/0.3128, allocations: 12 kB / 0.9488 GB, free: 13.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000404/0.3132, allocations: 51.86 kB / 0.9488 GB, free: 13.51 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.983e-05/0.3132, allocations: 35.95 kB / 0.9489 GB, free: 13.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.353e-05/0.3133, allocations: 15.98 kB / 0.9489 GB, free: 13.46 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000376/0.3137, allocations: 395.1 kB / 0.9493 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3137, allocations: 0 / 0.9493 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001016/0.3147, allocations: 383.4 kB / 0.9496 GB, free: 12.71 MB / 0.6042 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.001955/0.3167, allocations: 1.726 MB / 0.9513 GB, free: 10.94 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001927/0.3186, allocations: 0.9131 MB / 0.9522 GB, free: 10.03 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3186, allocations: 0 / 0.9522 GB, free: 10.03 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006273/0.3193, allocations: 300.3 kB / 0.9525 GB, free: 9.738 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001362/0.3206, allocations: 256.9 kB / 0.9527 GB, free: 9.488 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002878/0.3235, allocations: 4.619 MB / 0.9573 GB, free: 4.727 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002854/0.3238, allocations: 0.9311 MB / 0.9582 GB, free: 3.77 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000597/0.3244, allocations: 159.2 kB / 0.9583 GB, free: 3.621 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002773/0.3247, allocations: 243.3 kB / 0.9586 GB, free: 3.387 MB / 0.6042 GB Notification: Performance of SimCode: time 6.72e-07/0.3247, allocations: 4 kB / 0.9586 GB, free: 3.383 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03597/0.3607, allocations: 17.48 MB / 0.9756 GB, free: 2.215 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002449/0.361, allocations: 294.8 kB / 0.9759 GB, free: 1.848 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.478/2.839, allocations: 0 / 0.9759 GB, free: 1.848 MB / 0.6198 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)