Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.508/2.508, allocations: 248.7 MB / 256.2 MB, free: 7.039 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.001462/0.001462, allocations: 187.2 kB / 315.4 MB, free: 4.012 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.985/1.985, allocations: 205.3 MB / 0.5662 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001097/0.001097, allocations: 94.47 kB / 0.6704 GB, free: 5.762 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.816e-05/2.817e-05, allocations: 0 / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.2058, allocations: 106.3 MB / 0.8841 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.215/1.421, allocations: 371.3 MB / 1.247 GB, free: 15.55 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003116/1.421, allocations: 89.88 kB / 1.247 GB, free: 15.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.375/2.796, allocations: 242.8 MB / 1.484 GB, free: 133.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.913e-06/2.796, allocations: 0 / 1.484 GB, free: 133.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.351e-05/2.796, allocations: 19.94 kB / 1.484 GB, free: 133.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.002099/2.798, allocations: 0.8372 MB / 1.485 GB, free: 133 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/2.798, allocations: 8.031 kB / 1.485 GB, free: 133 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002609/2.798, allocations: 63.25 kB / 1.485 GB, free: 133 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/2.8, allocations: 463.6 kB / 1.485 GB, free: 132.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/2.8, allocations: 8 kB / 1.485 GB, free: 132.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.391e-05/2.8, allocations: 24 kB / 1.485 GB, free: 132.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000574/2.8, allocations: 189.5 kB / 1.485 GB, free: 132.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005612/2.801, allocations: 230.2 kB / 1.486 GB, free: 132 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/2.801, allocations: 7.891 kB / 1.486 GB, free: 132 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.969e-05/2.801, allocations: 0 / 1.486 GB, free: 132 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/2.801, allocations: 8 kB / 1.486 GB, free: 132 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.003176/2.804, allocations: 1.251 MB / 1.487 GB, free: 130.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006964/2.805, allocations: 234.5 kB / 1.487 GB, free: 130.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002276/2.805, allocations: 96.83 kB / 1.487 GB, free: 130.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004636/2.806, allocations: 0.4989 MB / 1.488 GB, free: 129.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/2.806, allocations: 30.56 kB / 1.488 GB, free: 129.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=25): time 3.075e-06/2.806, allocations: 3.938 kB / 1.488 GB, free: 129.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=25): time 0.001063/2.807, allocations: 282.1 kB / 1.488 GB, free: 129.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.611e-05/2.807, allocations: 55.41 kB / 1.488 GB, free: 129.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005369/2.807, allocations: 345.3 kB / 1.488 GB, free: 129 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.493e-05/2.807, allocations: 33.7 kB / 1.488 GB, free: 128.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001805/2.808, allocations: 248.5 kB / 1.489 GB, free: 128.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.162e-05/2.808, allocations: 82.75 kB / 1.489 GB, free: 128.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.274e-05/2.808, allocations: 0 / 1.489 GB, free: 128.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001011/2.808, allocations: 354.8 kB / 1.489 GB, free: 128.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002263/2.808, allocations: 79.73 kB / 1.489 GB, free: 128.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003074/2.808, allocations: 174.5 kB / 1.489 GB, free: 128 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005688/2.809, allocations: 116 kB / 1.489 GB, free: 127.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/2.809, allocations: 4 kB / 1.489 GB, free: 127.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001283/2.81, allocations: 340.5 kB / 1.49 GB, free: 127.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.128e-05/2.81, allocations: 276.8 kB / 1.49 GB, free: 127.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/2.81, allocations: 0 / 1.49 GB, free: 127.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002933/2.811, allocations: 36.84 kB / 1.49 GB, free: 127.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006488/2.811, allocations: 79.88 kB / 1.49 GB, free: 127.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004958/2.812, allocations: 0.5679 MB / 1.491 GB, free: 126.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000939/2.813, allocations: 59.75 kB / 1.491 GB, free: 126.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.74e-05/2.813, allocations: 19.98 kB / 1.491 GB, free: 126.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/2.813, allocations: 8 kB / 1.491 GB, free: 126.4 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008266/2.814, allocations: 215.8 kB / 1.491 GB, free: 126.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/2.814, allocations: 7.938 kB / 1.491 GB, free: 126.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.705e-06/2.814, allocations: 0 / 1.491 GB, free: 126.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007159/2.815, allocations: 83.88 kB / 1.491 GB, free: 126.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/2.815, allocations: 4 kB / 1.491 GB, free: 126.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009068/2.816, allocations: 59.64 kB / 1.491 GB, free: 126.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-05/2.816, allocations: 19.98 kB / 1.491 GB, free: 126 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.0002115/2.816, allocations: 116.9 kB / 1.491 GB, free: 125.9 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000844/2.817, allocations: 253.8 kB / 1.491 GB, free: 125.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.767e-05/2.817, allocations: 43.44 kB / 1.492 GB, free: 125.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001088/2.818, allocations: 343.5 kB / 1.492 GB, free: 125.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/2.818, allocations: 144 / 1.492 GB, free: 125.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/2.818, allocations: 0 / 1.492 GB, free: 125.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/2.818, allocations: 7.984 kB / 1.492 GB, free: 125.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001832/2.82, allocations: 0.8105 MB / 1.493 GB, free: 124.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.225e-06/2.82, allocations: 0 / 1.493 GB, free: 124.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004362/2.82, allocations: 47.97 kB / 1.493 GB, free: 124.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002099/2.821, allocations: 36.83 kB / 1.493 GB, free: 124.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.894e-05/2.821, allocations: 11.94 kB / 1.493 GB, free: 124.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003553/2.821, allocations: 0.5601 MB / 1.493 GB, free: 123.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/2.821, allocations: 4 kB / 1.493 GB, free: 123.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/2.822, allocations: 470 kB / 1.494 GB, free: 123.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003135/2.822, allocations: 156.3 kB / 1.494 GB, free: 123 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.62e-05/2.822, allocations: 4 kB / 1.494 GB, free: 123 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006986/2.823, allocations: 43.89 kB / 1.494 GB, free: 123 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.799e-05/2.823, allocations: 23.92 kB / 1.494 GB, free: 122.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.944e-05/2.823, allocations: 8 kB / 1.494 GB, free: 122.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003976/2.824, allocations: 271 kB / 1.494 GB, free: 122.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.51e-07/2.824, allocations: 0 / 1.494 GB, free: 122.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001241/2.825, allocations: 271.5 kB / 1.494 GB, free: 122.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.001981/2.827, allocations: 1.546 MB / 1.496 GB, free: 120.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001185/2.828, allocations: 372.9 kB / 1.496 GB, free: 120.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/2.828, allocations: 0 / 1.496 GB, free: 120.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003847/2.829, allocations: 131.9 kB / 1.496 GB, free: 120.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002172/2.831, allocations: 227.9 kB / 1.497 GB, free: 120.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002111/2.833, allocations: 0.6783 MB / 1.497 GB, free: 119.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003575/2.833, allocations: 0.8674 MB / 1.498 GB, free: 118.5 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0009063/2.834, allocations: 132 kB / 1.498 GB, free: 118.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002851/2.835, allocations: 167.4 kB / 1.498 GB, free: 118.2 MB / 0.8698 GB Notification: Performance of SimCode: time 1.142e-06/2.835, allocations: 4 kB / 1.498 GB, free: 118.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06342/2.898, allocations: 14.36 MB / 1.512 GB, free: 103.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002575/2.898, allocations: 177.8 kB / 1.513 GB, free: 103.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.047/5.945, allocations: 3.938 kB / 1.513 GB, free: 103.7 MB / 0.8698 GB