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.44/1.44, allocations: 249.5 MB / 257 MB, free: 6.914 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 165 kB / 316.3 MB, free: 3.328 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.737/1.737, allocations: 205.3 MB / 0.5671 GB, free: 15.92 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.0008903/0.0008905, allocations: 94.28 kB / 0.6714 GB, free: 5.043 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.406e-05/2.436e-05, allocations: 4 kB / 0.7815 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2242, allocations: 106.4 MB / 0.8853 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.563/1.787, allocations: 389.4 MB / 1.266 GB, free: 256.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003507/1.788, allocations: 93.56 kB / 1.266 GB, free: 256.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.4595/2.247, allocations: 227.8 MB / 1.488 GB, free: 107.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.783e-06/2.247, allocations: 0 / 1.488 GB, free: 107.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.983e-05/2.247, allocations: 20 kB / 1.488 GB, free: 107.4 MB / 0.8698 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.00202/2.249, allocations: 0.9736 MB / 1.489 GB, free: 106.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/2.249, allocations: 16.02 kB / 1.489 GB, free: 106.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002671/2.25, allocations: 90.92 kB / 1.489 GB, free: 106.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008939/2.251, allocations: 0.4999 MB / 1.49 GB, free: 105.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/2.251, allocations: 12 kB / 1.49 GB, free: 105.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.142e-05/2.251, allocations: 32 kB / 1.49 GB, free: 105.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006133/2.251, allocations: 354.5 kB / 1.49 GB, free: 105.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000653/2.252, allocations: 0.5055 MB / 1.491 GB, free: 104.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/2.252, allocations: 8 kB / 1.491 GB, free: 104.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.844e-05/2.252, allocations: 0 / 1.491 GB, free: 104.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/2.252, allocations: 12 kB / 1.491 GB, free: 104.8 MB / 0.8698 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.00292/2.255, allocations: 3.113 MB / 1.494 GB, free: 101.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003876/2.255, allocations: 282.8 kB / 1.494 GB, free: 101.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002197/2.256, allocations: 172.8 kB / 1.494 GB, free: 101 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002569/2.256, allocations: 356.4 kB / 1.494 GB, free: 100.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/2.256, allocations: 30.66 kB / 1.494 GB, free: 100.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=38): time 1.893e-06/2.256, allocations: 3.938 kB / 1.494 GB, free: 100.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=38): time 0.002035/2.258, allocations: 0.6694 MB / 1.495 GB, free: 99.89 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.944e-05/2.258, allocations: 55.41 kB / 1.495 GB, free: 99.83 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004443/2.258, allocations: 430.4 kB / 1.496 GB, free: 99.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.568e-05/2.258, allocations: 25.7 kB / 1.496 GB, free: 99.37 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/2.259, allocations: 332.2 kB / 1.496 GB, free: 99.04 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.125e-05/2.259, allocations: 122.2 kB / 1.496 GB, free: 98.92 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.529e-05/2.259, allocations: 0 / 1.496 GB, free: 98.92 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.895e-05/2.259, allocations: 370.8 kB / 1.496 GB, free: 98.55 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002114/2.259, allocations: 145.1 kB / 1.496 GB, free: 98.41 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000279/2.259, allocations: 330.9 kB / 1.497 GB, free: 98 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001389/2.261, allocations: 436.4 kB / 1.497 GB, free: 97.58 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/2.261, allocations: 0 / 1.497 GB, free: 97.58 MB / 0.8698 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001959/2.263, allocations: 0.8002 MB / 1.498 GB, free: 96.77 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003318/2.263, allocations: 1.744 MB / 1.5 GB, free: 94.89 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/2.263, allocations: 8 kB / 1.5 GB, free: 94.88 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003874/2.263, allocations: 100.8 kB / 1.5 GB, free: 94.78 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000514/2.264, allocations: 139.8 kB / 1.5 GB, free: 94.64 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008041/2.265, allocations: 0.6967 MB / 1.501 GB, free: 93.92 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000688/2.266, allocations: 99.44 kB / 1.501 GB, free: 93.82 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.571e-05/2.266, allocations: 35.94 kB / 1.501 GB, free: 93.79 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/2.266, allocations: 4 kB / 1.501 GB, free: 93.78 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001703/2.267, allocations: 0.6696 MB / 1.501 GB, free: 93.11 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/2.267, allocations: 4 kB / 1.501 GB, free: 93.11 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.267e-06/2.267, allocations: 12.5 kB / 1.501 GB, free: 93.09 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005624/2.268, allocations: 159.8 kB / 1.502 GB, free: 92.94 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/2.268, allocations: 11.94 kB / 1.502 GB, free: 92.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006319/2.269, allocations: 75.62 kB / 1.502 GB, free: 92.85 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.775e-05/2.269, allocations: 31.98 kB / 1.502 GB, free: 92.82 MB / 0.8698 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.000145/2.269, allocations: 124.7 kB / 1.502 GB, free: 92.69 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001688/2.27, allocations: 0.618 MB / 1.502 GB, free: 92.06 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/2.271, allocations: 71.14 kB / 1.502 GB, free: 91.99 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001958/2.273, allocations: 0.7486 MB / 1.503 GB, free: 91.24 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.948e-06/2.273, allocations: 7.984 kB / 1.503 GB, free: 91.23 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/2.273, allocations: 0 / 1.503 GB, free: 91.23 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/2.273, allocations: 0 / 1.503 GB, free: 91.23 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002941/2.276, allocations: 1.422 MB / 1.505 GB, free: 89.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.625e-06/2.276, allocations: 0 / 1.505 GB, free: 89.75 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003683/2.276, allocations: 95.97 kB / 1.505 GB, free: 89.66 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003276/2.276, allocations: 116.8 kB / 1.505 GB, free: 89.54 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.657e-05/2.276, allocations: 11.95 kB / 1.505 GB, free: 89.53 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007652/2.277, allocations: 0.685 MB / 1.505 GB, free: 88.82 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/2.277, allocations: 3.984 kB / 1.505 GB, free: 88.81 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001864/2.279, allocations: 0.8698 MB / 1.506 GB, free: 87.89 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000304/2.279, allocations: 196 kB / 1.507 GB, free: 87.68 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/2.279, allocations: 12.02 kB / 1.507 GB, free: 87.67 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000507/2.28, allocations: 51.94 kB / 1.507 GB, free: 87.62 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.447e-05/2.28, allocations: 23.97 kB / 1.507 GB, free: 87.59 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.932e-05/2.28, allocations: 19.98 kB / 1.507 GB, free: 87.57 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.00036/2.28, allocations: 322.9 kB / 1.507 GB, free: 87.26 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.41e-07/2.28, allocations: 0 / 1.507 GB, free: 87.26 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001474/2.282, allocations: 395.2 kB / 1.507 GB, free: 86.88 MB / 0.8698 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.002826/2.285, allocations: 1.92 MB / 1.509 GB, free: 84.91 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001418/2.286, allocations: 0.7117 MB / 1.51 GB, free: 84.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/2.286, allocations: 0 / 1.51 GB, free: 84.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004192/2.287, allocations: 232.6 kB / 1.51 GB, free: 83.98 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/2.288, allocations: 239.7 kB / 1.51 GB, free: 83.74 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001926/2.29, allocations: 0.8739 MB / 1.511 GB, free: 82.82 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/2.29, allocations: 0.9283 MB / 1.512 GB, free: 81.87 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0007297/2.291, allocations: 168.7 kB / 1.512 GB, free: 81.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002775/2.291, allocations: 231.3 kB / 1.512 GB, free: 81.48 MB / 0.8698 GB Notification: Performance of SimCode: time 7.21e-07/2.291, allocations: 0 / 1.512 GB, free: 81.48 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04015/2.332, allocations: 17.54 MB / 1.53 GB, free: 64.07 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001509/2.332, allocations: 198.2 kB / 1.53 GB, free: 63.79 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.366/4.698, allocations: 7.375 kB / 1.53 GB, free: 63.79 MB / 0.8698 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)