Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Examples_CheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.841/1.841, allocations: 289.7 MB / 302.2 MB, free: 2.16 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.00124/0.00124, allocations: 186.7 kB / 371.6 MB, free: 3.348 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.798/1.798, allocations: 205.1 MB / 0.6309 GB, free: 11.79 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.0009917/0.0009916, allocations: 90.05 kB / 0.745 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.303e-05/5.315e-05, allocations: 4 kB / 0.8663 GB, free: 15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2619, allocations: 116.3 MB / 0.9799 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.097/1.359, allocations: 379.7 MB / 1.351 GB, free: 0.75 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000267/1.36, allocations: 82.09 kB / 1.351 GB, free: 0.7109 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.167/2.527, allocations: 251.7 MB / 1.597 GB, free: 141 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.513e-06/2.527, allocations: 0 / 1.597 GB, free: 141 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 7.26e-05/2.527, allocations: 20.12 kB / 1.597 GB, free: 141 MB / 0.9323 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.001798/2.529, allocations: 0.8267 MB / 1.597 GB, free: 140.1 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/2.529, allocations: 12.03 kB / 1.597 GB, free: 140.1 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001221/2.529, allocations: 66.53 kB / 1.597 GB, free: 140 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001961/2.529, allocations: 67.25 kB / 1.598 GB, free: 140 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00095/2.53, allocations: 466.9 kB / 1.598 GB, free: 139.5 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.069e-05/2.53, allocations: 28.78 kB / 1.598 GB, free: 139.4 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.49e-05/2.53, allocations: 36 kB / 1.598 GB, free: 139.4 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004855/2.531, allocations: 271.7 kB / 1.598 GB, free: 139.1 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/2.531, allocations: 0 / 1.598 GB, free: 139.1 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.083e-05/2.531, allocations: 15.94 kB / 1.598 GB, free: 139.1 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/2.531, allocations: 8 kB / 1.598 GB, free: 139.1 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003471/2.531, allocations: 203 kB / 1.599 GB, free: 138.9 MB / 0.9323 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.002128/2.533, allocations: 1.33 MB / 1.6 GB, free: 137.5 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004842/2.534, allocations: 234.5 kB / 1.6 GB, free: 137.2 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/2.534, allocations: 101.3 kB / 1.6 GB, free: 137.1 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003585/2.534, allocations: 0.5025 MB / 1.601 GB, free: 136.5 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/2.534, allocations: 38.56 kB / 1.601 GB, free: 136.5 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=25): time 1.884e-06/2.534, allocations: 0 / 1.601 GB, free: 136.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=25): time 0.0006521/2.535, allocations: 269.7 kB / 1.601 GB, free: 136.2 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/2.535, allocations: 55.41 kB / 1.601 GB, free: 136.1 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004303/2.536, allocations: 400 kB / 1.601 GB, free: 135.7 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.05e-05/2.536, allocations: 37.7 kB / 1.601 GB, free: 135.7 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/2.536, allocations: 248.8 kB / 1.602 GB, free: 135.4 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 6.025e-05/2.536, allocations: 82.75 kB / 1.602 GB, free: 135.3 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.628e-05/2.536, allocations: 11.94 kB / 1.602 GB, free: 135.3 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.286e-05/2.536, allocations: 350.8 kB / 1.602 GB, free: 135 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/2.536, allocations: 87.97 kB / 1.602 GB, free: 134.9 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002143/2.536, allocations: 178.8 kB / 1.602 GB, free: 134.7 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001964/2.537, allocations: 110.8 kB / 1.602 GB, free: 134.6 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/2.537, allocations: 0 / 1.602 GB, free: 134.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006526/2.537, allocations: 351.4 kB / 1.603 GB, free: 134.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 8.501e-05/2.537, allocations: 276.4 kB / 1.603 GB, free: 133.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/2.537, allocations: 0 / 1.603 GB, free: 133.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002536/2.538, allocations: 48.84 kB / 1.603 GB, free: 133.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003507/2.538, allocations: 79.89 kB / 1.603 GB, free: 133.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003528/2.538, allocations: 0.5601 MB / 1.604 GB, free: 133.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005811/2.539, allocations: 71.69 kB / 1.604 GB, free: 133.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.081e-05/2.539, allocations: 19.98 kB / 1.604 GB, free: 133.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/2.539, allocations: 4 kB / 1.604 GB, free: 133.1 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003919/2.539, allocations: 239.7 kB / 1.604 GB, free: 132.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.635e-06/2.539, allocations: 0 / 1.604 GB, free: 132.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.251e-06/2.539, allocations: 4 kB / 1.604 GB, free: 132.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003685/2.54, allocations: 91.88 kB / 1.604 GB, free: 132.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/2.54, allocations: 0 / 1.604 GB, free: 132.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005083/2.54, allocations: 67.64 kB / 1.604 GB, free: 132.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.716e-05/2.54, allocations: 19.98 kB / 1.604 GB, free: 132.7 MB / 0.9323 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.0001195/2.541, allocations: 128.9 kB / 1.604 GB, free: 132.6 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.094e-05/2.541, allocations: 47.34 kB / 1.604 GB, free: 132.5 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006164/2.541, allocations: 354.5 kB / 1.605 GB, free: 132.2 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/2.541, allocations: 7.984 kB / 1.605 GB, free: 132.2 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/2.541, allocations: 0 / 1.605 GB, free: 132.2 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/2.541, allocations: 0 / 1.605 GB, free: 132.2 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/2.542, allocations: 0.89 MB / 1.606 GB, free: 131.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/2.542, allocations: 0 / 1.606 GB, free: 131.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002267/2.543, allocations: 55.89 kB / 1.606 GB, free: 131.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001663/2.543, allocations: 44.95 kB / 1.606 GB, free: 131.1 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.529e-05/2.543, allocations: 11.98 kB / 1.606 GB, free: 131.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002521/2.543, allocations: 0.5563 MB / 1.606 GB, free: 130.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/2.543, allocations: 0 / 1.606 GB, free: 130.5 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004782/2.544, allocations: 486.1 kB / 1.607 GB, free: 130 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002029/2.544, allocations: 156.4 kB / 1.607 GB, free: 129.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.631e-05/2.544, allocations: 12 kB / 1.607 GB, free: 129.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000419/2.544, allocations: 43.89 kB / 1.607 GB, free: 129.8 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.857e-05/2.544, allocations: 31.92 kB / 1.607 GB, free: 129.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.319e-05/2.545, allocations: 8 kB / 1.607 GB, free: 129.7 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0002959/2.545, allocations: 317.6 kB / 1.607 GB, free: 129.4 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8.12e-07/2.545, allocations: 3.938 kB / 1.607 GB, free: 129.4 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001008/2.546, allocations: 275.5 kB / 1.607 GB, free: 129.1 MB / 0.9323 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.001508/2.547, allocations: 1.554 MB / 1.609 GB, free: 127.5 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0007714/2.548, allocations: 389.1 kB / 1.609 GB, free: 127.2 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/2.548, allocations: 0 / 1.609 GB, free: 127.2 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002551/2.548, allocations: 140.6 kB / 1.609 GB, free: 127 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001323/2.55, allocations: 243.7 kB / 1.61 GB, free: 126.8 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/2.551, allocations: 0.7117 MB / 1.61 GB, free: 126 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/2.552, allocations: 0.8678 MB / 1.611 GB, free: 125.1 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0005867/2.552, allocations: 144.3 kB / 1.611 GB, free: 125 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001937/2.552, allocations: 171.3 kB / 1.612 GB, free: 124.8 MB / 0.9323 GB Notification: Performance of SimCode: time 7.11e-07/2.552, allocations: 0 / 1.612 GB, free: 124.8 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03444/2.587, allocations: 17.34 MB / 1.629 GB, free: 107.7 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001673/2.587, allocations: 222 kB / 1.629 GB, free: 107.5 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.506/5.093, allocations: 0 / 1.629 GB, free: 107.5 MB / 0.9323 GB (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FixedResistances_Examples_CheckValve_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FixedResistances_Examples_CheckValve.fmu > Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)