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.4/1.4, allocations: 249.5 MB / 257 MB, free: 6.891 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.0009643/0.0009644, allocations: 184.8 kB / 316.3 MB, free: 3.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.39/1.39, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.0007575/0.0007575, allocations: 88.25 kB / 0.6714 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.696e-05/1.698e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.1704, allocations: 106.3 MB / 0.8853 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7691/0.9395, allocations: 371.4 MB / 1.248 GB, free: 14.25 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/0.9399, allocations: 87.56 kB / 1.248 GB, free: 14.21 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.8661/1.806, allocations: 242.8 MB / 1.485 GB, free: 131.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.823e-06/1.806, allocations: 0 / 1.485 GB, free: 131.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.168e-05/1.806, allocations: 23.92 kB / 1.485 GB, free: 131.9 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.001338/1.807, allocations: 0.8358 MB / 1.486 GB, free: 131 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/1.807, allocations: 8.031 kB / 1.486 GB, free: 131 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001118/1.808, allocations: 71.2 kB / 1.486 GB, free: 131 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006324/1.808, allocations: 463.6 kB / 1.487 GB, free: 130.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/1.808, allocations: 12 kB / 1.487 GB, free: 130.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.935e-05/1.808, allocations: 27.98 kB / 1.487 GB, free: 130.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003156/1.809, allocations: 181.5 kB / 1.487 GB, free: 130.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003472/1.809, allocations: 226.2 kB / 1.487 GB, free: 130 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/1.809, allocations: 0 / 1.487 GB, free: 130 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.617e-05/1.809, allocations: 3.953 kB / 1.487 GB, free: 130 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/1.809, allocations: 11.98 kB / 1.487 GB, free: 130 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.001662/1.811, allocations: 1.255 MB / 1.488 GB, free: 128.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000399/1.811, allocations: 230.5 kB / 1.488 GB, free: 128.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001277/1.811, allocations: 100.8 kB / 1.489 GB, free: 128.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003033/1.812, allocations: 0.4986 MB / 1.489 GB, free: 127.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.768e-05/1.812, allocations: 38.56 kB / 1.489 GB, free: 127.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=25): time 1.363e-06/1.812, allocations: 4 kB / 1.489 GB, free: 127.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=25): time 0.0006034/1.812, allocations: 272.5 kB / 1.489 GB, free: 127.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.174e-05/1.812, allocations: 55.41 kB / 1.489 GB, free: 127.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002951/1.813, allocations: 357.3 kB / 1.49 GB, free: 127 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/1.813, allocations: 25.7 kB / 1.49 GB, free: 126.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/1.813, allocations: 248.6 kB / 1.49 GB, free: 126.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.674e-05/1.813, allocations: 78.75 kB / 1.49 GB, free: 126.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.558e-05/1.813, allocations: 0 / 1.49 GB, free: 126.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.976e-05/1.813, allocations: 362.8 kB / 1.49 GB, free: 126.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/1.813, allocations: 75.98 kB / 1.49 GB, free: 126.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001634/1.813, allocations: 170.2 kB / 1.491 GB, free: 126 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002509/1.813, allocations: 120.8 kB / 1.491 GB, free: 125.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/1.813, allocations: 0 / 1.491 GB, free: 125.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006181/1.814, allocations: 345.8 kB / 1.491 GB, free: 125.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.39e-05/1.814, allocations: 271 kB / 1.491 GB, free: 125.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/1.814, allocations: 0 / 1.491 GB, free: 125.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002255/1.814, allocations: 32.84 kB / 1.491 GB, free: 125.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003236/1.815, allocations: 79.88 kB / 1.491 GB, free: 125.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003379/1.815, allocations: 0.5718 MB / 1.492 GB, free: 124.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004741/1.816, allocations: 67.75 kB / 1.492 GB, free: 124.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.003e-05/1.816, allocations: 19.98 kB / 1.492 GB, free: 124.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.684e-06/1.816, allocations: 4 kB / 1.492 GB, free: 124.4 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004206/1.816, allocations: 218.3 kB / 1.492 GB, free: 124.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.813e-06/1.816, allocations: 0 / 1.492 GB, free: 124.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.449e-06/1.816, allocations: 4 kB / 1.492 GB, free: 124.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003546/1.816, allocations: 83.88 kB / 1.492 GB, free: 124.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.086e-06/1.816, allocations: 11.88 kB / 1.492 GB, free: 124.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003873/1.817, allocations: 59.64 kB / 1.492 GB, free: 124 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.963e-05/1.817, allocations: 19.98 kB / 1.492 GB, free: 124 MB / 0.8698 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.0001159/1.817, allocations: 108.9 kB / 1.493 GB, free: 123.9 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004134/1.817, allocations: 258 kB / 1.493 GB, free: 123.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.557e-05/1.817, allocations: 43.44 kB / 1.493 GB, free: 123.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005911/1.818, allocations: 339.6 kB / 1.493 GB, free: 123.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/1.818, allocations: 4 kB / 1.493 GB, free: 123.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/1.818, allocations: 3.938 kB / 1.493 GB, free: 123.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/1.818, allocations: 0 / 1.493 GB, free: 123.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009867/1.819, allocations: 0.8027 MB / 1.494 GB, free: 122.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/1.819, allocations: 4 kB / 1.494 GB, free: 122.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002255/1.819, allocations: 51.91 kB / 1.494 GB, free: 122.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001233/1.819, allocations: 36.95 kB / 1.494 GB, free: 122.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.027e-05/1.819, allocations: 8 kB / 1.494 GB, free: 122.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002359/1.82, allocations: 0.5678 MB / 1.495 GB, free: 121.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/1.82, allocations: 4.031 kB / 1.495 GB, free: 121.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004598/1.82, allocations: 458.3 kB / 1.495 GB, free: 121.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/1.82, allocations: 160.3 kB / 1.495 GB, free: 121 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.277e-05/1.82, allocations: 0 / 1.495 GB, free: 121 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003595/1.821, allocations: 47.83 kB / 1.495 GB, free: 121 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.33e-05/1.821, allocations: 28.11 kB / 1.495 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/1.821, allocations: 12 kB / 1.495 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000213/1.821, allocations: 274.9 kB / 1.496 GB, free: 120.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/1.821, allocations: 0 / 1.496 GB, free: 120.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0007933/1.822, allocations: 259.5 kB / 1.496 GB, free: 120.4 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.001237/1.823, allocations: 1.548 MB / 1.497 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0006425/1.824, allocations: 374.2 kB / 1.498 GB, free: 118.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/1.824, allocations: 4 kB / 1.498 GB, free: 118.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002094/1.824, allocations: 131.8 kB / 1.498 GB, free: 118.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/1.825, allocations: 221.3 kB / 1.498 GB, free: 118.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/1.826, allocations: 0.6783 MB / 1.499 GB, free: 117.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002281/1.827, allocations: 0.8674 MB / 1.5 GB, free: 116.5 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0004585/1.827, allocations: 136 kB / 1.5 GB, free: 116.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000168/1.827, allocations: 163.4 kB / 1.5 GB, free: 116.2 MB / 0.8698 GB Notification: Performance of SimCode: time 2.5e-07/1.827, allocations: 4 kB / 1.5 GB, free: 116.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0336/1.861, allocations: 14.36 MB / 1.514 GB, free: 102 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001576/1.861, allocations: 181.6 kB / 1.514 GB, free: 101.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.432/4.293, allocations: 0 / 1.514 GB, free: 101.8 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)