Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.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.FixedResistances.Examples.CheckValve,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_CheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_CheckValve",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.478/1.478, allocations: 249.3 MB / 261.8 MB, free: 5.863 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.001128/0.001128, allocations: 174.5 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.758/1.758, allocations: 205.2 MB / 0.572 GB, free: 10.62 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.001073/0.001073, allocations: 90.53 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.743e-05/3.778e-05, allocations: 0 / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2362, allocations: 106.3 MB / 0.8919 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.052/1.288, allocations: 371.2 MB / 1.254 GB, free: 11.52 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002467/1.288, allocations: 83.2 kB / 1.254 GB, free: 11.47 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.051/2.34, allocations: 244.7 MB / 1.493 GB, free: 121 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.473e-06/2.34, allocations: 0 / 1.493 GB, free: 121 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.134e-05/2.34, allocations: 16 kB / 1.493 GB, free: 121 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001448/2.341, allocations: 0.8295 MB / 1.494 GB, free: 120.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.585e-05/2.341, allocations: 12.03 kB / 1.494 GB, free: 120.1 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.795e-05/2.341, allocations: 66.53 kB / 1.494 GB, free: 120 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001147/2.341, allocations: 71.2 kB / 1.494 GB, free: 120 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007307/2.342, allocations: 459.6 kB / 1.495 GB, free: 119.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/2.342, allocations: 28.78 kB / 1.495 GB, free: 119.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.635e-05/2.342, allocations: 43.98 kB / 1.495 GB, free: 119.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004476/2.343, allocations: 267.7 kB / 1.495 GB, free: 119.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/2.343, allocations: 0 / 1.495 GB, free: 119.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.946e-05/2.343, allocations: 15.94 kB / 1.495 GB, free: 119.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/2.343, allocations: 11.95 kB / 1.495 GB, free: 119.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003214/2.343, allocations: 199 kB / 1.495 GB, free: 118.9 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.001805/2.345, allocations: 1.33 MB / 1.497 GB, free: 117.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004538/2.345, allocations: 234.5 kB / 1.497 GB, free: 117.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/2.346, allocations: 104.8 kB / 1.497 GB, free: 117.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000339/2.346, allocations: 0.4986 MB / 1.497 GB, free: 116.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/2.346, allocations: 38.59 kB / 1.497 GB, free: 116.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=25): time 1.843e-06/2.346, allocations: 4 kB / 1.497 GB, free: 116.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=25): time 0.0005252/2.346, allocations: 266.2 kB / 1.498 GB, free: 116.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.559e-05/2.346, allocations: 55.41 kB / 1.498 GB, free: 116.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003568/2.347, allocations: 400 kB / 1.498 GB, free: 115.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.524e-05/2.347, allocations: 33.7 kB / 1.498 GB, free: 115.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/2.347, allocations: 248.8 kB / 1.498 GB, free: 115.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.151e-05/2.347, allocations: 86.75 kB / 1.498 GB, free: 115.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.547e-05/2.347, allocations: 4 kB / 1.498 GB, free: 115.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.623e-05/2.347, allocations: 354.8 kB / 1.499 GB, free: 115 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/2.347, allocations: 79.98 kB / 1.499 GB, free: 114.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002061/2.348, allocations: 186.1 kB / 1.499 GB, free: 114.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002031/2.348, allocations: 107.1 kB / 1.499 GB, free: 114.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/2.348, allocations: 0 / 1.499 GB, free: 114.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005844/2.348, allocations: 348.6 kB / 1.5 GB, free: 114.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.371e-05/2.348, allocations: 271 kB / 1.5 GB, free: 114 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/2.348, allocations: 4 kB / 1.5 GB, free: 114 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002476/2.349, allocations: 36.83 kB / 1.5 GB, free: 113.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003231/2.349, allocations: 79.89 kB / 1.5 GB, free: 113.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003333/2.349, allocations: 0.564 MB / 1.5 GB, free: 113.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004846/2.35, allocations: 79.69 kB / 1.501 GB, free: 113.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.302e-05/2.35, allocations: 19.92 kB / 1.501 GB, free: 113.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.769e-06/2.35, allocations: 5.406 kB / 1.501 GB, free: 113.2 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00038/2.35, allocations: 245.3 kB / 1.501 GB, free: 112.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-06/2.35, allocations: 0 / 1.501 GB, free: 112.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.178e-06/2.35, allocations: 4 kB / 1.501 GB, free: 112.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003603/2.351, allocations: 83.88 kB / 1.501 GB, free: 112.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.866e-06/2.351, allocations: 4 kB / 1.501 GB, free: 112.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004058/2.351, allocations: 71.64 kB / 1.501 GB, free: 112.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.983e-05/2.351, allocations: 15.98 kB / 1.501 GB, free: 112.7 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * 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 9.02e-05/2.351, allocations: 124.9 kB / 1.501 GB, free: 112.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.319e-05/2.351, allocations: 47.44 kB / 1.501 GB, free: 112.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006194/2.352, allocations: 364.2 kB / 1.501 GB, free: 112.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.809e-06/2.352, allocations: 4 kB / 1.501 GB, free: 112.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/2.352, allocations: 3.984 kB / 1.501 GB, free: 112.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/2.352, allocations: 0 / 1.501 GB, free: 112.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001/2.353, allocations: 0.884 MB / 1.502 GB, free: 111.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/2.353, allocations: 0 / 1.502 GB, free: 111.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002205/2.353, allocations: 47.97 kB / 1.502 GB, free: 111.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001472/2.353, allocations: 49.09 kB / 1.502 GB, free: 111.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.279e-05/2.353, allocations: 11.98 kB / 1.502 GB, free: 111.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002795/2.354, allocations: 0.5601 MB / 1.503 GB, free: 110.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/2.354, allocations: 0 / 1.503 GB, free: 110.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005007/2.354, allocations: 491.6 kB / 1.503 GB, free: 110 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001728/2.354, allocations: 156.3 kB / 1.504 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.812e-05/2.355, allocations: 12 kB / 1.504 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003658/2.355, allocations: 39.95 kB / 1.504 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.953e-05/2.355, allocations: 31.92 kB / 1.504 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/2.355, allocations: 8 kB / 1.504 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003251/2.355, allocations: 317.6 kB / 1.504 GB, free: 109.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/2.355, allocations: 3.938 kB / 1.504 GB, free: 109.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001016/2.356, allocations: 275.6 kB / 1.504 GB, free: 109.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.001466/2.358, allocations: 1.553 MB / 1.506 GB, free: 107.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0008147/2.359, allocations: 393.7 kB / 1.506 GB, free: 107.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/2.359, allocations: 4 kB / 1.506 GB, free: 107.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002659/2.359, allocations: 139.8 kB / 1.506 GB, free: 107 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001372/2.36, allocations: 242.2 kB / 1.507 GB, free: 106.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/2.362, allocations: 0.7195 MB / 1.507 GB, free: 106 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003161/2.362, allocations: 0.8678 MB / 1.508 GB, free: 105.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0005169/2.363, allocations: 140.6 kB / 1.508 GB, free: 105 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001897/2.363, allocations: 171.3 kB / 1.508 GB, free: 104.8 MB / 0.8698 GB Notification: Performance of SimCode: time 6.21e-07/2.363, allocations: 0 / 1.508 GB, free: 104.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03122/2.394, allocations: 17.37 MB / 1.525 GB, free: 87.68 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001858/2.394, allocations: 228.8 kB / 1.526 GB, free: 87.41 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.662/5.057, allocations: 0 / 1.526 GB, free: 87.41 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_CheckValve_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_CheckValve.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)