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/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.877/1.877, allocations: 289.9 MB / 297.4 MB, free: 6.371 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.001081/0.001081, allocations: 168.9 kB / 366.7 MB, free: 1.637 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.82/1.82, allocations: 205.2 MB / 0.626 GB, free: 7.156 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.0009505/0.0009505, allocations: 82.88 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.402e-05/2.39e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7859/0.7859, allocations: 116.3 MB / 0.9733 GB, free: 76.11 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.152/1.938, allocations: 397 MB / 1.361 GB, free: 158.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002905/1.939, allocations: 93.75 kB / 1.361 GB, free: 158.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.4766/2.415, allocations: 234.1 MB / 1.59 GB, free: 1.664 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.673e-06/2.415, allocations: 0 / 1.59 GB, free: 1.664 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.357e-05/2.415, allocations: 23.94 kB / 1.59 GB, free: 1.641 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.002027/2.417, allocations: 0.9659 MB / 1.591 GB, free: 0.625 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/2.418, allocations: 12.03 kB / 1.591 GB, free: 0.6133 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001889/2.418, allocations: 83.02 kB / 1.591 GB, free: 0.5312 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009269/2.419, allocations: 0.5076 MB / 1.591 GB, free: 15.98 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/2.419, allocations: 19.98 kB / 1.591 GB, free: 15.96 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.633e-05/2.419, allocations: 32 kB / 1.591 GB, free: 15.93 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006509/2.419, allocations: 358.4 kB / 1.592 GB, free: 15.58 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007751/2.42, allocations: 0.4977 MB / 1.592 GB, free: 15.02 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/2.42, allocations: 7.938 kB / 1.592 GB, free: 15.01 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.755e-05/2.42, allocations: 0 / 1.592 GB, free: 15.01 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/2.42, allocations: 12 kB / 1.592 GB, free: 15 MB / 0.9323 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.003745/2.424, allocations: 3.125 MB / 1.595 GB, free: 11.69 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004848/2.425, allocations: 282.7 kB / 1.596 GB, free: 11.41 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000277/2.425, allocations: 176.8 kB / 1.596 GB, free: 11.23 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003945/2.425, allocations: 348.4 kB / 1.596 GB, free: 10.82 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/2.425, allocations: 38.56 kB / 1.596 GB, free: 10.77 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=38): time 2.695e-06/2.425, allocations: 0 / 1.596 GB, free: 10.77 MB / 0.9323 GB Notification: Performance of matching and sorting (n=38): time 0.002291/2.428, allocations: 0.6769 MB / 1.597 GB, free: 10.08 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/2.428, allocations: 59.36 kB / 1.597 GB, free: 10.01 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005536/2.428, allocations: 434.4 kB / 1.597 GB, free: 9.582 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.332e-05/2.428, allocations: 25.7 kB / 1.597 GB, free: 9.551 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002608/2.429, allocations: 328.2 kB / 1.598 GB, free: 9.223 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/2.429, allocations: 126.1 kB / 1.598 GB, free: 9.098 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.355e-05/2.429, allocations: 0 / 1.598 GB, free: 9.098 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001915/2.429, allocations: 366.8 kB / 1.598 GB, free: 8.73 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002692/2.429, allocations: 149.1 kB / 1.598 GB, free: 8.586 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004239/2.43, allocations: 326.3 kB / 1.598 GB, free: 8.188 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001505/2.431, allocations: 436.4 kB / 1.599 GB, free: 7.762 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/2.431, allocations: 0 / 1.599 GB, free: 7.762 MB / 0.9323 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002199/2.433, allocations: 0.7925 MB / 1.6 GB, free: 6.957 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008651/2.434, allocations: 1.752 MB / 1.601 GB, free: 5.07 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/2.434, allocations: 4 kB / 1.601 GB, free: 5.066 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004615/2.435, allocations: 104.8 kB / 1.601 GB, free: 4.961 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005819/2.435, allocations: 135.8 kB / 1.602 GB, free: 4.828 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001073/2.436, allocations: 0.7084 MB / 1.602 GB, free: 4.094 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007864/2.437, allocations: 91.38 kB / 1.602 GB, free: 4.004 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.109e-05/2.437, allocations: 32.05 kB / 1.602 GB, free: 3.973 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/2.437, allocations: 4 kB / 1.602 GB, free: 3.969 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001991/2.439, allocations: 0.6813 MB / 1.603 GB, free: 3.289 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/2.439, allocations: 4 kB / 1.603 GB, free: 3.285 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/2.439, allocations: 8 kB / 1.603 GB, free: 3.277 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006179/2.44, allocations: 156.3 kB / 1.603 GB, free: 3.125 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/2.44, allocations: 15.92 kB / 1.603 GB, free: 3.109 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007393/2.441, allocations: 79.53 kB / 1.603 GB, free: 3.031 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.987e-05/2.441, allocations: 27.98 kB / 1.603 GB, free: 3.004 MB / 0.9323 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.000201/2.441, allocations: 120.8 kB / 1.603 GB, free: 2.879 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001994/2.443, allocations: 0.6222 MB / 1.604 GB, free: 2.246 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/2.443, allocations: 63.2 kB / 1.604 GB, free: 2.184 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002299/2.446, allocations: 0.7564 MB / 1.605 GB, free: 1.414 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/2.446, allocations: 4 kB / 1.605 GB, free: 1.41 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/2.446, allocations: 0 / 1.605 GB, free: 1.41 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/2.446, allocations: 3.984 kB / 1.605 GB, free: 1.406 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003686/2.449, allocations: 1.422 MB / 1.606 GB, free: 15.93 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/2.449, allocations: 4 kB / 1.606 GB, free: 15.92 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004073/2.45, allocations: 95.97 kB / 1.606 GB, free: 15.83 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003813/2.45, allocations: 108.8 kB / 1.606 GB, free: 15.72 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.985e-05/2.45, allocations: 7.984 kB / 1.606 GB, free: 15.71 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001018/2.451, allocations: 0.6889 MB / 1.607 GB, free: 14.99 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/2.451, allocations: 0 / 1.607 GB, free: 14.99 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002219/2.453, allocations: 0.8696 MB / 1.608 GB, free: 14.08 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000451/2.454, allocations: 196.1 kB / 1.608 GB, free: 13.87 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/2.454, allocations: 7.953 kB / 1.608 GB, free: 13.86 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005859/2.455, allocations: 59.84 kB / 1.608 GB, free: 13.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.227e-05/2.455, allocations: 35.91 kB / 1.608 GB, free: 13.77 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.791e-05/2.455, allocations: 19.98 kB / 1.608 GB, free: 13.75 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004916/2.455, allocations: 322.9 kB / 1.609 GB, free: 13.43 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.81e-07/2.455, allocations: 0 / 1.609 GB, free: 13.43 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001771/2.457, allocations: 395.2 kB / 1.609 GB, free: 13.05 MB / 0.948 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.00392/2.461, allocations: 1.914 MB / 1.611 GB, free: 11.08 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001868/2.463, allocations: 0.7073 MB / 1.612 GB, free: 10.38 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/2.463, allocations: 0 / 1.612 GB, free: 10.38 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005333/2.464, allocations: 245.3 kB / 1.612 GB, free: 10.14 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001637/2.465, allocations: 237 kB / 1.612 GB, free: 9.902 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002525/2.468, allocations: 0.8817 MB / 1.613 GB, free: 8.973 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006125/2.468, allocations: 0.9205 MB / 1.614 GB, free: 8.027 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0008873/2.469, allocations: 172.8 kB / 1.614 GB, free: 7.859 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003803/2.47, allocations: 235.3 kB / 1.614 GB, free: 7.629 MB / 0.948 GB Notification: Performance of SimCode: time 1.202e-06/2.47, allocations: 0 / 1.614 GB, free: 7.629 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6275/3.097, allocations: 17.54 MB / 1.631 GB, free: 257.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001791/3.097, allocations: 197.3 kB / 1.631 GB, free: 257.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.713/5.81, allocations: 0 / 1.631 GB, free: 257.1 MB / 0.948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent.fmu > Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)