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.284/2.284, allocations: 248.5 MB / 261.1 MB, free: 6.086 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.001584/0.001584, allocations: 186.7 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.03/2.03, allocations: 205.1 MB / 0.571 GB, free: 11.78 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.00118/0.00118, allocations: 97.73 kB / 0.6754 GB, free: 0.8633 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.166e-05/5.193e-05, allocations: 4 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2265, allocations: 106.2 MB / 0.8907 GB, free: 7.445 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.223/1.449, allocations: 371 MB / 1.253 GB, free: 12.23 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003227/1.45, allocations: 82.52 kB / 1.253 GB, free: 12.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.525/2.975, allocations: 244.7 MB / 1.492 GB, free: 123 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.254e-06/2.975, allocations: 0 / 1.492 GB, free: 123 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.258e-05/2.975, allocations: 20.12 kB / 1.492 GB, free: 122.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.002369/2.977, allocations: 0.8332 MB / 1.493 GB, free: 122.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/2.977, allocations: 8.031 kB / 1.493 GB, free: 122.1 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001481/2.977, allocations: 66.53 kB / 1.493 GB, free: 122 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002509/2.978, allocations: 67.25 kB / 1.493 GB, free: 121.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001398/2.979, allocations: 459.6 kB / 1.493 GB, free: 121.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.721e-05/2.979, allocations: 28.78 kB / 1.493 GB, free: 121.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/2.979, allocations: 39.94 kB / 1.493 GB, free: 121.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/2.981, allocations: 279.7 kB / 1.494 GB, free: 121.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.49e-05/2.981, allocations: 0 / 1.494 GB, free: 121.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.611e-05/2.981, allocations: 11.95 kB / 1.494 GB, free: 121.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.981e-05/2.981, allocations: 8 kB / 1.494 GB, free: 121.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009401/2.982, allocations: 199.1 kB / 1.494 GB, free: 120.9 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.003921/2.986, allocations: 1.33 MB / 1.495 GB, free: 119.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008429/2.987, allocations: 234.5 kB / 1.495 GB, free: 119.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002929/2.987, allocations: 104.8 kB / 1.496 GB, free: 119.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004746/2.987, allocations: 0.4986 MB / 1.496 GB, free: 118.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.861e-05/2.987, allocations: 38.52 kB / 1.496 GB, free: 118.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=25): time 2.945e-06/2.988, allocations: 0 / 1.496 GB, free: 118.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=25): time 0.001091/2.989, allocations: 274.1 kB / 1.496 GB, free: 118.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/2.989, allocations: 51.41 kB / 1.496 GB, free: 118.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006935/2.989, allocations: 400 kB / 1.497 GB, free: 117.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001306/2.99, allocations: 37.7 kB / 1.497 GB, free: 117.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002025/2.99, allocations: 244.8 kB / 1.497 GB, free: 117.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/2.99, allocations: 82.75 kB / 1.497 GB, free: 117.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.709e-05/2.99, allocations: 8 kB / 1.497 GB, free: 117.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000105/2.99, allocations: 358.7 kB / 1.497 GB, free: 116.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002805/2.99, allocations: 87.73 kB / 1.498 GB, free: 116.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003749/2.991, allocations: 174.5 kB / 1.498 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003496/2.991, allocations: 116.8 kB / 1.498 GB, free: 116.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.383e-06/2.991, allocations: 224 / 1.498 GB, free: 116.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001216/2.992, allocations: 340.5 kB / 1.498 GB, free: 116.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001188/2.993, allocations: 271 kB / 1.498 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/2.993, allocations: 4 kB / 1.498 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003636/2.993, allocations: 40.83 kB / 1.498 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007198/2.994, allocations: 75.89 kB / 1.499 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005646/2.994, allocations: 0.5678 MB / 1.499 GB, free: 115.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001135/2.995, allocations: 67.66 kB / 1.499 GB, free: 115.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001352/2.996, allocations: 24.05 kB / 1.499 GB, free: 115.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/2.996, allocations: 4 kB / 1.499 GB, free: 115.1 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007903/2.996, allocations: 235.7 kB / 1.499 GB, free: 114.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/2.997, allocations: 4 kB / 1.499 GB, free: 114.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/2.997, allocations: 0 / 1.499 GB, free: 114.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007991/2.997, allocations: 87.88 kB / 1.499 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/2.997, allocations: 4 kB / 1.499 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001034/2.998, allocations: 71.64 kB / 1.5 GB, free: 114.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.992e-05/2.999, allocations: 12.12 kB / 1.5 GB, free: 114.7 MB / 0.8698 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 () * 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.0001843/2.999, allocations: 132.9 kB / 1.5 GB, free: 114.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001619/2.999, allocations: 51.42 kB / 1.5 GB, free: 114.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001126/3, allocations: 364.1 kB / 1.5 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.725e-05/3, allocations: 8 kB / 1.5 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.607e-06/3, allocations: 3.984 kB / 1.5 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.635e-06/3, allocations: 0 / 1.5 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002059/3.002, allocations: 0.8747 MB / 1.501 GB, free: 113.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/3.002, allocations: 8.031 kB / 1.501 GB, free: 113.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004775/3.003, allocations: 51.95 kB / 1.501 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002875/3.003, allocations: 40.78 kB / 1.501 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.239e-05/3.003, allocations: 7.984 kB / 1.501 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003883/3.004, allocations: 0.5602 MB / 1.502 GB, free: 112.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/3.004, allocations: 4 kB / 1.502 GB, free: 112.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009408/3.005, allocations: 487.4 kB / 1.502 GB, free: 112 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003421/3.005, allocations: 164.3 kB / 1.502 GB, free: 111.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/3.005, allocations: 4 kB / 1.502 GB, free: 111.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008168/3.006, allocations: 47.95 kB / 1.502 GB, free: 111.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/3.006, allocations: 27.86 kB / 1.502 GB, free: 111.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.503e-05/3.006, allocations: 8 kB / 1.502 GB, free: 111.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0005351/3.007, allocations: 317.6 kB / 1.503 GB, free: 111.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.71e-07/3.007, allocations: 0 / 1.503 GB, free: 111.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001428/3.008, allocations: 283.6 kB / 1.503 GB, free: 111.1 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.002109/3.01, allocations: 1.539 MB / 1.504 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001399/3.012, allocations: 395.2 kB / 1.505 GB, free: 109.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/3.012, allocations: 0 / 1.505 GB, free: 109.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005025/3.012, allocations: 143.8 kB / 1.505 GB, free: 109 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002569/3.015, allocations: 242.6 kB / 1.505 GB, free: 108.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002591/3.017, allocations: 0.7194 MB / 1.506 GB, free: 108 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/3.018, allocations: 0.8678 MB / 1.507 GB, free: 107.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001033/3.019, allocations: 140.2 kB / 1.507 GB, free: 107 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003251/3.019, allocations: 167.4 kB / 1.507 GB, free: 106.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.723e-06/3.019, allocations: 0 / 1.507 GB, free: 106.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05762/3.077, allocations: 17.35 MB / 1.524 GB, free: 89.67 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002879/3.077, allocations: 226.9 kB / 1.524 GB, free: 89.45 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.282/6.36, allocations: 0 / 1.524 GB, free: 89.45 MB / 0.8698 GB