Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_CheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.488/2.488, allocations: 284.9 MB / 292.4 MB, free: 10.52 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.001529/0.001529, allocations: 180.9 kB / 360.6 MB, free: 7.305 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.072/2.072, allocations: 205.3 MB / 0.6191 GB, free: 12.2 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.001505/0.001505, allocations: 90.14 kB / 0.7321 GB, free: 44.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.385e-05/2.396e-05, allocations: 4 kB / 0.8508 GB, free: 3.328 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8139/0.814, allocations: 115.3 MB / 0.9634 GB, free: 78.55 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.289/2.103, allocations: 377.9 MB / 1.332 GB, free: 181.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002917/2.104, allocations: 89.95 kB / 1.333 GB, free: 181.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.9786/3.082, allocations: 249.8 MB / 1.576 GB, free: 112 kB / 0.9011 GB Notification: Performance of FrontEnd: time 2.525e-06/3.082, allocations: 8 kB / 1.576 GB, free: 104 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001017/3.083, allocations: 15.98 kB / 1.576 GB, free: 88 kB / 0.9011 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.003313/3.086, allocations: 0.8333 MB / 1.577 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 7.606e-05/3.086, allocations: 8.031 kB / 1.577 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004146/3.086, allocations: 71.2 kB / 1.577 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002035/3.089, allocations: 463.6 kB / 1.578 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.741e-05/3.089, allocations: 8 kB / 1.578 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001506/3.089, allocations: 24 kB / 1.578 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008819/3.09, allocations: 189.5 kB / 1.578 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008662/3.091, allocations: 226.2 kB / 1.578 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/3.091, allocations: 4 kB / 1.578 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.599e-05/3.091, allocations: 7.953 kB / 1.578 GB, free: 14.17 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.649e-05/3.091, allocations: 4 kB / 1.578 GB, free: 14.17 MB / 0.9167 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.004695/3.095, allocations: 1.251 MB / 1.579 GB, free: 12.81 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/3.096, allocations: 234.5 kB / 1.58 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003675/3.097, allocations: 100.8 kB / 1.58 GB, free: 12.47 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007282/3.098, allocations: 0.4986 MB / 1.58 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.807e-05/3.098, allocations: 40.16 kB / 1.58 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=25): time 3.967e-06/3.098, allocations: 0 / 1.58 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of matching and sorting (n=25): time 0.001485/3.099, allocations: 262.2 kB / 1.581 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.517e-05/3.099, allocations: 59.44 kB / 1.581 GB, free: 11.48 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008566/3.1, allocations: 361.2 kB / 1.581 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 9.056e-05/3.1, allocations: 25.7 kB / 1.581 GB, free: 11.09 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003272/3.101, allocations: 244.6 kB / 1.581 GB, free: 10.84 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001844/3.101, allocations: 86.75 kB / 1.581 GB, free: 10.76 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.504e-05/3.101, allocations: 0 / 1.581 GB, free: 10.76 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002265/3.101, allocations: 346.8 kB / 1.582 GB, free: 10.41 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003512/3.101, allocations: 83.73 kB / 1.582 GB, free: 10.33 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004959/3.102, allocations: 178.5 kB / 1.582 GB, free: 10.11 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007089/3.103, allocations: 112.8 kB / 1.582 GB, free: 10 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/3.103, allocations: 0 / 1.582 GB, free: 10 MB / 0.9167 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001725/3.104, allocations: 345.8 kB / 1.582 GB, free: 9.66 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002204/3.105, allocations: 268.8 kB / 1.583 GB, free: 9.379 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/3.105, allocations: 7.984 kB / 1.583 GB, free: 9.371 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003652/3.105, allocations: 40.89 kB / 1.583 GB, free: 9.328 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008508/3.106, allocations: 75.88 kB / 1.583 GB, free: 9.254 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008945/3.107, allocations: 0.5717 MB / 1.583 GB, free: 8.656 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/3.108, allocations: 67.72 kB / 1.583 GB, free: 8.59 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001175/3.109, allocations: 20 kB / 1.583 GB, free: 8.57 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/3.109, allocations: 4 kB / 1.583 GB, free: 8.566 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001358/3.11, allocations: 221.8 kB / 1.584 GB, free: 8.352 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/3.11, allocations: 7.984 kB / 1.584 GB, free: 8.344 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/3.11, allocations: 7.984 kB / 1.584 GB, free: 8.336 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/3.111, allocations: 83.89 kB / 1.584 GB, free: 8.254 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/3.111, allocations: 0 / 1.584 GB, free: 8.254 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001496/3.113, allocations: 59.78 kB / 1.584 GB, free: 8.195 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001413/3.113, allocations: 15.98 kB / 1.584 GB, free: 8.18 MB / 0.9167 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.0003268/3.113, allocations: 114.1 kB / 1.584 GB, free: 8.062 MB / 0.9167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001542/3.115, allocations: 264 kB / 1.584 GB, free: 7.797 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001934/3.115, allocations: 47.44 kB / 1.584 GB, free: 7.75 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001906/3.117, allocations: 336.5 kB / 1.584 GB, free: 7.414 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.298e-05/3.117, allocations: 7.984 kB / 1.584 GB, free: 7.406 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.377e-06/3.117, allocations: 0 / 1.584 GB, free: 7.406 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/3.117, allocations: 0 / 1.584 GB, free: 7.406 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003352/3.121, allocations: 0.8031 MB / 1.585 GB, free: 6.547 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.568e-05/3.121, allocations: 7.938 kB / 1.585 GB, free: 6.539 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007434/3.121, allocations: 56.08 kB / 1.585 GB, free: 6.484 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003442/3.122, allocations: 36.84 kB / 1.585 GB, free: 6.445 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.474e-05/3.122, allocations: 3.984 kB / 1.585 GB, free: 6.441 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007796/3.123, allocations: 0.5601 MB / 1.586 GB, free: 5.855 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.296e-06/3.123, allocations: 8.094 kB / 1.586 GB, free: 5.848 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001721/3.124, allocations: 469.8 kB / 1.586 GB, free: 5.332 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000572/3.125, allocations: 152.4 kB / 1.587 GB, free: 5.164 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001451/3.125, allocations: 7.922 kB / 1.587 GB, free: 5.156 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/3.126, allocations: 39.95 kB / 1.587 GB, free: 5.117 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/3.127, allocations: 27.92 kB / 1.587 GB, free: 5.09 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.282e-05/3.127, allocations: 12 kB / 1.587 GB, free: 5.078 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0008893/3.128, allocations: 267 kB / 1.587 GB, free: 4.82 MB / 0.9167 GB Notification: Performance of sort global known variables: time 9.02e-07/3.128, allocations: 0 / 1.587 GB, free: 4.82 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002258/3.13, allocations: 271.4 kB / 1.587 GB, free: 4.555 MB / 0.9167 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.003645/3.134, allocations: 1.538 MB / 1.589 GB, free: 2.965 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.00206/3.136, allocations: 366.4 kB / 1.589 GB, free: 2.605 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-05/3.136, allocations: 4 kB / 1.589 GB, free: 2.602 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007011/3.136, allocations: 131.8 kB / 1.589 GB, free: 2.473 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003356/3.14, allocations: 228.8 kB / 1.589 GB, free: 2.254 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003547/3.143, allocations: 0.6749 MB / 1.59 GB, free: 1.527 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00081/3.144, allocations: 0.8713 MB / 1.591 GB, free: 0.6289 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001511/3.146, allocations: 124.7 kB / 1.591 GB, free: 0.5078 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004723/3.146, allocations: 171.3 kB / 1.591 GB, free: 348 kB / 0.9167 GB Notification: Performance of SimCode: time 1.262e-06/3.146, allocations: 0 / 1.591 GB, free: 348 kB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0806/3.227, allocations: 14.37 MB / 1.605 GB, free: 2.117 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003166/3.227, allocations: 165.9 kB / 1.605 GB, free: 1.93 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.989/6.216, allocations: 3.938 kB / 1.605 GB, free: 1.926 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_CheckValve_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_CheckValve.fmu > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)