Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_CheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.639/1.639, allocations: 285.6 MB / 293.1 MB, free: 10.24 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.001158/0.001158, allocations: 176.9 kB / 361.4 MB, free: 6.84 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.542/1.542, allocations: 205.2 MB / 0.62 GB, free: 11.62 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.000776/0.0007759, allocations: 103.8 kB / 0.733 GB, free: 44.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.626e-05/1.618e-05, allocations: 4 kB / 0.8518 GB, free: 2.633 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6591/0.6592, allocations: 115.3 MB / 0.9644 GB, free: 78.71 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9501/1.609, allocations: 378.1 MB / 1.334 GB, free: 223.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002589/1.61, allocations: 84.89 kB / 1.334 GB, free: 223.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.4733/2.083, allocations: 249.8 MB / 1.578 GB, free: 3.438 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.603e-06/2.083, allocations: 192 / 1.578 GB, free: 3.438 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.542e-05/2.083, allocations: 19.94 kB / 1.578 GB, free: 3.418 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.001864/2.085, allocations: 0.8293 MB / 1.579 GB, free: 2.539 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/2.085, allocations: 8.031 kB / 1.579 GB, free: 2.531 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002031/2.085, allocations: 67.2 kB / 1.579 GB, free: 2.465 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008856/2.086, allocations: 471.6 kB / 1.579 GB, free: 1.961 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/2.086, allocations: 12 kB / 1.579 GB, free: 1.949 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.307e-05/2.086, allocations: 20 kB / 1.579 GB, free: 1.93 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003944/2.087, allocations: 185.5 kB / 1.579 GB, free: 1.75 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004194/2.087, allocations: 230.1 kB / 1.579 GB, free: 1.52 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/2.087, allocations: 0 / 1.579 GB, free: 1.52 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.076e-05/2.087, allocations: 3.984 kB / 1.579 GB, free: 1.516 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/2.087, allocations: 15.89 kB / 1.579 GB, free: 1.5 MB / 0.8855 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.002157/2.089, allocations: 1.255 MB / 1.581 GB, free: 144 kB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004868/2.09, allocations: 230.6 kB / 1.581 GB, free: 15.9 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001852/2.09, allocations: 100.8 kB / 1.581 GB, free: 15.8 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004004/2.09, allocations: 0.4947 MB / 1.582 GB, free: 15.2 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.985e-05/2.09, allocations: 40.25 kB / 1.582 GB, free: 15.15 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=25): time 2.054e-06/2.09, allocations: 3.938 kB / 1.582 GB, free: 15.14 MB / 0.9011 GB Notification: Performance of matching and sorting (n=25): time 0.0007482/2.091, allocations: 262.3 kB / 1.582 GB, free: 14.88 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/2.091, allocations: 51.41 kB / 1.582 GB, free: 14.82 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004217/2.092, allocations: 357.2 kB / 1.582 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.638e-05/2.092, allocations: 29.7 kB / 1.582 GB, free: 14.42 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/2.092, allocations: 244.6 kB / 1.582 GB, free: 14.18 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 7.013e-05/2.092, allocations: 78.75 kB / 1.583 GB, free: 14.1 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.729e-05/2.092, allocations: 4 kB / 1.583 GB, free: 14.1 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001432/2.092, allocations: 358.8 kB / 1.583 GB, free: 13.74 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/2.092, allocations: 75.98 kB / 1.583 GB, free: 13.66 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002306/2.093, allocations: 179.7 kB / 1.583 GB, free: 13.45 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003173/2.093, allocations: 113.4 kB / 1.583 GB, free: 13.34 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/2.093, allocations: 0 / 1.583 GB, free: 13.34 MB / 0.9011 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007524/2.094, allocations: 346.9 kB / 1.584 GB, free: 13 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001187/2.094, allocations: 278.9 kB / 1.584 GB, free: 12.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/2.094, allocations: 0 / 1.584 GB, free: 12.7 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000217/2.094, allocations: 40.83 kB / 1.584 GB, free: 12.66 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000352/2.094, allocations: 71.89 kB / 1.584 GB, free: 12.59 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004248/2.095, allocations: 0.5719 MB / 1.584 GB, free: 11.99 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005297/2.095, allocations: 71.67 kB / 1.585 GB, free: 11.92 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.655e-05/2.095, allocations: 15.98 kB / 1.585 GB, free: 11.91 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/2.095, allocations: 5.562 kB / 1.585 GB, free: 11.9 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005029/2.096, allocations: 223.7 kB / 1.585 GB, free: 11.68 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/2.096, allocations: 3.984 kB / 1.585 GB, free: 11.68 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.268e-06/2.096, allocations: 0 / 1.585 GB, free: 11.68 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003986/2.096, allocations: 87.88 kB / 1.585 GB, free: 11.59 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/2.096, allocations: 8 kB / 1.585 GB, free: 11.59 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004668/2.097, allocations: 55.8 kB / 1.585 GB, free: 11.53 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.745e-05/2.097, allocations: 15.98 kB / 1.585 GB, free: 11.52 MB / 0.9011 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: checkValve_m_flow.a:VARIABLE(protected = true ) "Scaled pressure variable" type: Real 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 0.0001464/2.097, allocations: 112.9 kB / 1.585 GB, free: 11.4 MB / 0.9011 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005251/2.098, allocations: 257.8 kB / 1.585 GB, free: 11.14 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.827e-05/2.098, allocations: 47.38 kB / 1.585 GB, free: 11.09 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007656/2.099, allocations: 340.9 kB / 1.586 GB, free: 10.75 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/2.099, allocations: 0 / 1.586 GB, free: 10.75 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/2.099, allocations: 4 kB / 1.586 GB, free: 10.75 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/2.099, allocations: 0 / 1.586 GB, free: 10.75 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001279/2.1, allocations: 0.8147 MB / 1.586 GB, free: 9.879 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/2.1, allocations: 0 / 1.586 GB, free: 9.879 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002449/2.1, allocations: 51.91 kB / 1.587 GB, free: 9.828 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001453/2.1, allocations: 44.95 kB / 1.587 GB, free: 9.781 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/2.1, allocations: 4 kB / 1.587 GB, free: 9.777 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003384/2.101, allocations: 0.5563 MB / 1.587 GB, free: 9.195 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/2.101, allocations: 0 / 1.587 GB, free: 9.195 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006263/2.101, allocations: 477.8 kB / 1.588 GB, free: 8.672 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001996/2.101, allocations: 152.4 kB / 1.588 GB, free: 8.504 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.358e-05/2.102, allocations: 4 kB / 1.588 GB, free: 8.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004078/2.102, allocations: 39.95 kB / 1.588 GB, free: 8.461 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.624e-05/2.102, allocations: 23.97 kB / 1.588 GB, free: 8.438 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.763e-05/2.102, allocations: 11.95 kB / 1.588 GB, free: 8.426 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0002994/2.102, allocations: 274.9 kB / 1.588 GB, free: 8.16 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.034e-06/2.102, allocations: 0 / 1.588 GB, free: 8.16 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0009566/2.103, allocations: 271.4 kB / 1.588 GB, free: 7.895 MB / 0.9011 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.001714/2.105, allocations: 1.54 MB / 1.59 GB, free: 6.301 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0008018/2.106, allocations: 369.6 kB / 1.59 GB, free: 5.941 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/2.106, allocations: 8 kB / 1.59 GB, free: 5.934 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002959/2.106, allocations: 138.7 kB / 1.59 GB, free: 5.801 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/2.108, allocations: 220.1 kB / 1.591 GB, free: 5.59 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001589/2.109, allocations: 0.6821 MB / 1.591 GB, free: 4.855 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000565/2.11, allocations: 0.8713 MB / 1.592 GB, free: 3.957 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0006062/2.11, allocations: 132.6 kB / 1.592 GB, free: 3.828 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002342/2.111, allocations: 171.4 kB / 1.592 GB, free: 3.66 MB / 0.9011 GB Notification: Performance of SimCode: time 1.833e-06/2.111, allocations: 0 / 1.592 GB, free: 3.66 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5624/2.673, allocations: 14.35 MB / 1.606 GB, free: 218 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000243/2.673, allocations: 180.1 kB / 1.607 GB, free: 217.8 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.368/5.041, allocations: 0 / 1.607 GB, free: 217.8 MB / 0.9011 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_CheckValve_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_CheckValve.fmu > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)