Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.471/2.471, allocations: 284.9 MB / 292.4 MB, free: 10.56 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001475/0.001475, allocations: 188.9 kB / 360.6 MB, free: 7.277 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.038/2.038, allocations: 205.3 MB / 0.6191 GB, free: 12.2 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001488/0.001488, allocations: 98.77 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.177e-05/3.187e-05, allocations: 4 kB / 0.8509 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8139/0.814, allocations: 115.2 MB / 0.9634 GB, free: 78.71 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.312/2.126, allocations: 395.9 MB / 1.35 GB, free: 171.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003318/2.126, allocations: 90.7 kB / 1.35 GB, free: 171.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.7992/2.925, allocations: 234.1 MB / 1.579 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.864e-06/2.925, allocations: 0 / 1.579 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 8.69e-05/2.926, allocations: 23.98 kB / 1.579 GB, free: 14.83 MB / 0.9167 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.002885/2.928, allocations: 0.9735 MB / 1.58 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.863e-05/2.929, allocations: 12.03 kB / 1.58 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003765/2.929, allocations: 83.02 kB / 1.58 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001661/2.931, allocations: 0.5038 MB / 1.58 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.076e-05/2.931, allocations: 15.94 kB / 1.58 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001344/2.931, allocations: 32 kB / 1.58 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001132/2.932, allocations: 354.5 kB / 1.581 GB, free: 12.78 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/2.933, allocations: 0.5112 MB / 1.581 GB, free: 12.21 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/2.933, allocations: 0 / 1.581 GB, free: 12.21 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.49e-05/2.933, allocations: 3.938 kB / 1.581 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.228e-05/2.933, allocations: 12 kB / 1.581 GB, free: 12.19 MB / 0.9167 GB Warning: The model contains alias variables with conflicting start and/or 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.005981/2.939, allocations: 3.117 MB / 1.584 GB, free: 8.891 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007916/2.94, allocations: 289 kB / 1.584 GB, free: 8.602 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000465/2.941, allocations: 179.4 kB / 1.585 GB, free: 8.426 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000436/2.941, allocations: 348.4 kB / 1.585 GB, free: 8.012 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/2.941, allocations: 34.56 kB / 1.585 GB, free: 7.969 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=38): time 3.116e-06/2.941, allocations: 0 / 1.585 GB, free: 7.969 MB / 0.9167 GB Notification: Performance of matching and sorting (n=38): time 0.003958/2.945, allocations: 0.6771 MB / 1.586 GB, free: 7.281 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/2.945, allocations: 59.34 kB / 1.586 GB, free: 7.211 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008734/2.946, allocations: 426.4 kB / 1.586 GB, free: 6.789 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001259/2.946, allocations: 25.7 kB / 1.586 GB, free: 6.758 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003425/2.947, allocations: 332.2 kB / 1.586 GB, free: 6.426 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002005/2.947, allocations: 126.1 kB / 1.587 GB, free: 6.301 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.682e-05/2.947, allocations: 3.938 kB / 1.587 GB, free: 6.297 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001912/2.947, allocations: 370.8 kB / 1.587 GB, free: 5.926 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004634/2.947, allocations: 145.1 kB / 1.587 GB, free: 5.785 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006203/2.948, allocations: 326.4 kB / 1.587 GB, free: 5.395 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002817/2.951, allocations: 440.3 kB / 1.588 GB, free: 4.965 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.245e-05/2.951, allocations: 4 kB / 1.588 GB, free: 4.961 MB / 0.9167 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.004008/2.955, allocations: 0.785 MB / 1.589 GB, free: 4.164 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007307/2.956, allocations: 1.752 MB / 1.59 GB, free: 2.277 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/2.956, allocations: 11.92 kB / 1.59 GB, free: 2.266 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006702/2.957, allocations: 100.8 kB / 1.59 GB, free: 2.164 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/2.958, allocations: 143.8 kB / 1.591 GB, free: 2.023 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001674/2.959, allocations: 0.6969 MB / 1.591 GB, free: 1.301 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/2.961, allocations: 91.38 kB / 1.591 GB, free: 1.211 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/2.961, allocations: 35.94 kB / 1.591 GB, free: 1.176 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/2.961, allocations: 11.94 kB / 1.591 GB, free: 1.164 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003624/2.965, allocations: 0.6662 MB / 1.592 GB, free: 0.4961 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/2.965, allocations: 8.125 kB / 1.592 GB, free: 500 kB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/2.965, allocations: 8 kB / 1.592 GB, free: 492 kB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/2.966, allocations: 151.8 kB / 1.592 GB, free: 340 kB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.694e-05/2.966, allocations: 11.94 kB / 1.592 GB, free: 328 kB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001221/2.967, allocations: 79.53 kB / 1.592 GB, free: 248 kB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/2.967, allocations: 27.98 kB / 1.592 GB, free: 220 kB / 0.9167 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002367/2.968, allocations: 128.6 kB / 1.592 GB, free: 84 kB / 0.9167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003487/2.971, allocations: 0.6261 MB / 1.593 GB, free: 15.45 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001813/2.971, allocations: 59.25 kB / 1.593 GB, free: 15.39 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003929/2.975, allocations: 0.7602 MB / 1.594 GB, free: 14.62 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-05/2.975, allocations: 4 kB / 1.594 GB, free: 14.61 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/2.975, allocations: 0 / 1.594 GB, free: 14.61 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/2.975, allocations: 3.984 kB / 1.594 GB, free: 14.61 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005738/2.981, allocations: 1.426 MB / 1.595 GB, free: 13.12 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.341e-05/2.981, allocations: 4 kB / 1.595 GB, free: 13.12 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007676/2.982, allocations: 91.88 kB / 1.595 GB, free: 13.03 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006185/2.983, allocations: 112.9 kB / 1.595 GB, free: 12.91 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.373e-05/2.983, allocations: 11.94 kB / 1.595 GB, free: 12.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001584/2.984, allocations: 0.685 MB / 1.596 GB, free: 12.19 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/2.984, allocations: 32 / 1.596 GB, free: 12.19 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0039/2.988, allocations: 0.8734 MB / 1.597 GB, free: 11.27 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005072/2.989, allocations: 192.2 kB / 1.597 GB, free: 11.06 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/2.989, allocations: 11.94 kB / 1.597 GB, free: 11.05 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000904/2.99, allocations: 51.86 kB / 1.597 GB, free: 11 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/2.99, allocations: 35.89 kB / 1.597 GB, free: 10.96 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.876e-05/2.99, allocations: 19.98 kB / 1.597 GB, free: 10.95 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0006182/2.991, allocations: 322.9 kB / 1.598 GB, free: 10.63 MB / 0.9323 GB Notification: Performance of sort global known variables: time 4.31e-07/2.991, allocations: 0 / 1.598 GB, free: 10.63 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002001/2.993, allocations: 387.2 kB / 1.598 GB, free: 10.25 MB / 0.9323 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 () * 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.005379/2.998, allocations: 1.92 MB / 1.6 GB, free: 8.289 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002714/3.001, allocations: 0.7051 MB / 1.601 GB, free: 7.582 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/3.001, allocations: 4.125 kB / 1.601 GB, free: 7.578 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0009032/3.002, allocations: 231.8 kB / 1.601 GB, free: 7.352 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002487/3.004, allocations: 236.5 kB / 1.601 GB, free: 7.121 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003127/3.007, allocations: 0.8933 MB / 1.602 GB, free: 6.18 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006454/3.008, allocations: 0.9207 MB / 1.603 GB, free: 5.234 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.00129/3.009, allocations: 168.7 kB / 1.603 GB, free: 5.07 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005055/3.01, allocations: 235.3 kB / 1.603 GB, free: 4.84 MB / 0.9323 GB Notification: Performance of SimCode: time 1.412e-06/3.01, allocations: 0 / 1.603 GB, free: 4.84 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8092/3.819, allocations: 17.53 MB / 1.62 GB, free: 248.6 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002909/3.82, allocations: 191.9 kB / 1.62 GB, free: 248.4 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.736/7.555, allocations: 2.375 kB / 1.62 GB, free: 248.4 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent.fmu > Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)