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.479/1.479, allocations: 251.9 MB / 266.9 MB, free: 11.04 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.001482/0.001482, allocations: 178.9 kB / 326.5 MB, free: 2.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.466/2.466, allocations: 205.4 MB / 0.5775 GB, free: 20.23 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.001189/0.001189, allocations: 99.2 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004035/0.0004035, allocations: 11.56 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2952, allocations: 106.3 MB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.281/1.576, allocations: 371.2 MB / 1.263 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004801/1.576, allocations: 87.89 kB / 1.263 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.334/2.911, allocations: 245.4 MB / 1.502 GB, free: 253.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.006e-06/2.911, allocations: 4 kB / 1.502 GB, free: 253.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001419/2.911, allocations: 14.27 kB / 1.502 GB, free: 253.4 MB / 0.8855 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.003309/2.915, allocations: 0.9433 MB / 1.503 GB, free: 252.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.36e-05/2.915, allocations: 8.031 kB / 1.503 GB, free: 252.4 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002231/2.915, allocations: 62.11 kB / 1.503 GB, free: 252.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003179/2.915, allocations: 75.7 kB / 1.503 GB, free: 252.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001265/2.916, allocations: 468.8 kB / 1.504 GB, free: 251.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.482e-05/2.917, allocations: 28.66 kB / 1.504 GB, free: 251.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/2.917, allocations: 40 kB / 1.504 GB, free: 251.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006867/2.917, allocations: 306 kB / 1.504 GB, free: 251.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/2.917, allocations: 3.984 kB / 1.504 GB, free: 251.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.43e-05/2.917, allocations: 12 kB / 1.504 GB, free: 251.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/2.917, allocations: 8 kB / 1.504 GB, free: 251.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006082/2.918, allocations: 274.4 kB / 1.505 GB, free: 251.1 MB / 0.8855 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.002538/2.921, allocations: 1.322 MB / 1.506 GB, free: 249.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006484/2.921, allocations: 278.4 kB / 1.506 GB, free: 249.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004235/2.922, allocations: 0.5011 MB / 1.507 GB, free: 248.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/2.922, allocations: 38.56 kB / 1.507 GB, free: 248.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=25): time 3.316e-06/2.922, allocations: 0 / 1.507 GB, free: 248.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=25): time 0.001871/2.924, allocations: 0.571 MB / 1.507 GB, free: 248.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/2.924, allocations: 59.36 kB / 1.507 GB, free: 248.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005242/2.924, allocations: 405.3 kB / 1.508 GB, free: 247.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.739e-05/2.924, allocations: 33.7 kB / 1.508 GB, free: 247.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002048/2.925, allocations: 247.8 kB / 1.508 GB, free: 247.4 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.61e-05/2.925, allocations: 82.75 kB / 1.508 GB, free: 247.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.695e-05/2.925, allocations: 8.219 kB / 1.508 GB, free: 247.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001316/2.925, allocations: 358.8 kB / 1.508 GB, free: 246.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002713/2.925, allocations: 119.9 kB / 1.508 GB, free: 246.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000356/2.925, allocations: 224 kB / 1.509 GB, free: 246.6 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003342/2.926, allocations: 146.7 kB / 1.509 GB, free: 246.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/2.926, allocations: 0 / 1.509 GB, free: 246.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000913/2.927, allocations: 404.5 kB / 1.509 GB, free: 246 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001485/2.927, allocations: 286.2 kB / 1.509 GB, free: 245.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/2.927, allocations: 0 / 1.509 GB, free: 245.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003106/2.927, allocations: 48.75 kB / 1.51 GB, free: 245.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003678/2.928, allocations: 79.89 kB / 1.51 GB, free: 245.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004553/2.928, allocations: 0.5639 MB / 1.51 GB, free: 245 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006568/2.929, allocations: 75.73 kB / 1.51 GB, free: 244.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.845e-05/2.929, allocations: 19.36 kB / 1.51 GB, free: 244.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/2.929, allocations: 0 / 1.51 GB, free: 244.9 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006607/2.929, allocations: 315.6 kB / 1.511 GB, free: 244.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/2.929, allocations: 0 / 1.511 GB, free: 244.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.763e-06/2.93, allocations: 0 / 1.511 GB, free: 244.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003808/2.93, allocations: 87.89 kB / 1.511 GB, free: 244.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/2.93, allocations: 4 kB / 1.511 GB, free: 244.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000578/2.93, allocations: 63.78 kB / 1.511 GB, free: 244.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.497e-05/2.931, allocations: 23.92 kB / 1.511 GB, free: 244.4 MB / 0.8855 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 () * Number of clocked 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 0.0003853/2.931, allocations: 246.4 kB / 1.511 GB, free: 244.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/2.931, allocations: 51.34 kB / 1.511 GB, free: 244.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000965/2.932, allocations: 436.9 kB / 1.511 GB, free: 243.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/2.932, allocations: 4 kB / 1.511 GB, free: 243.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/2.932, allocations: 3.938 kB / 1.511 GB, free: 243.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/2.932, allocations: 3.984 kB / 1.511 GB, free: 243.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001648/2.934, allocations: 0.9491 MB / 1.512 GB, free: 242.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/2.934, allocations: 0 / 1.512 GB, free: 242.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002339/2.934, allocations: 55.91 kB / 1.512 GB, free: 242.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002118/2.934, allocations: 44.81 kB / 1.512 GB, free: 242.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.131e-05/2.934, allocations: 8 kB / 1.512 GB, free: 242.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003251/2.935, allocations: 0.5679 MB / 1.513 GB, free: 242 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/2.935, allocations: 4.031 kB / 1.513 GB, free: 242 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008164/2.935, allocations: 0.5389 MB / 1.514 GB, free: 241.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002925/2.936, allocations: 164.4 kB / 1.514 GB, free: 241.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.039e-05/2.936, allocations: 4 kB / 1.514 GB, free: 241.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004517/2.936, allocations: 55.78 kB / 1.514 GB, free: 241.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/2.936, allocations: 19.97 kB / 1.514 GB, free: 241.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.88e-05/2.936, allocations: 15.95 kB / 1.514 GB, free: 241.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003791/2.937, allocations: 318.9 kB / 1.514 GB, free: 240.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.6e-07/2.937, allocations: 4 kB / 1.514 GB, free: 240.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001223/2.938, allocations: 271.6 kB / 1.514 GB, free: 240.5 MB / 0.8855 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 () * Number of clocked 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.002104/2.94, allocations: 1.611 MB / 1.516 GB, free: 238.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001354/2.942, allocations: 483.4 kB / 1.516 GB, free: 238.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/2.942, allocations: 0 / 1.516 GB, free: 238.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004223/2.942, allocations: 183.4 kB / 1.517 GB, free: 238.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001553/2.944, allocations: 248.9 kB / 1.517 GB, free: 238 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002964/2.947, allocations: 1.639 MB / 1.518 GB, free: 236.3 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004283/2.947, allocations: 0.8708 MB / 1.519 GB, free: 235.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.000608/2.948, allocations: 120.2 kB / 1.519 GB, free: 235.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002809/2.948, allocations: 175.4 kB / 1.52 GB, free: 235.1 MB / 0.8855 GB Notification: Performance of SimCode: time 1.804e-06/2.948, allocations: 0 / 1.52 GB, free: 235.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04032/2.988, allocations: 16.16 MB / 1.535 GB, free: 219.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002465/2.989, allocations: 261.9 kB / 1.536 GB, free: 218.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.766/5.754, allocations: 4 kB / 1.536 GB, free: 218.9 MB / 0.8855 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)