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.843/2.843, allocations: 287.3 MB / 302.3 MB, free: 8.203 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.001533/0.001533, allocations: 177.8 kB / 370.8 MB, free: 10.86 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.241/2.241, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001072/0.001071, allocations: 95.02 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007052/0.0007055, allocations: 11.84 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2395, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.02197/0.2616, allocations: 17.41 MB / 0.9953 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.007152/0.2688, allocations: 3.969 MB / 0.9992 GB, free: 6.867 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006708/0.2695, allocations: 11.88 kB / 0.9992 GB, free: 6.855 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001048/0.2705, allocations: 270.7 kB / 0.9994 GB, free: 6.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002934/0.2735, allocations: 0.7835 MB / 1 GB, free: 5.805 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003054/0.2766, allocations: 0.7697 MB / 1.001 GB, free: 5.051 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001827/0.2784, allocations: 0.837 MB / 1.002 GB, free: 4.211 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006186/0.279, allocations: 362.7 kB / 1.002 GB, free: 3.855 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001042/0.2801, allocations: 470.5 kB / 1.003 GB, free: 3.395 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005692/0.2807, allocations: 318.6 kB / 1.003 GB, free: 3.082 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.037e-05/0.2808, allocations: 20 kB / 1.003 GB, free: 3.062 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001204/0.282, allocations: 403.4 kB / 1.003 GB, free: 2.668 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001384/0.2822, allocations: 103.6 kB / 1.003 GB, free: 2.566 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001444/0.2823, allocations: 121.5 kB / 1.003 GB, free: 2.441 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0008303/0.2832, allocations: 0.5105 MB / 1.004 GB, free: 1.93 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.2832, allocations: 0 / 1.004 GB, free: 1.93 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.044e-06/0.2832, allocations: 0 / 1.004 GB, free: 1.93 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.547e-06/0.2832, allocations: 0 / 1.004 GB, free: 1.93 MB / 0.6198 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.001879/0.2851, allocations: 0.8176 MB / 1.005 GB, free: 1.062 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.2851, allocations: 8.031 kB / 1.005 GB, free: 1.055 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.441e-05/0.2852, allocations: 70.53 kB / 1.005 GB, free: 0.9766 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001256/0.2854, allocations: 63.25 kB / 1.005 GB, free: 0.9141 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007657/0.2862, allocations: 434.9 kB / 1.005 GB, free: 460 kB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.998e-05/0.2862, allocations: 28.66 kB / 1.005 GB, free: 432 kB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.63e-05/0.2863, allocations: 32 kB / 1.005 GB, free: 400 kB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009021/0.2872, allocations: 309.9 kB / 1.006 GB, free: 80 kB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.2872, allocations: 8 kB / 1.006 GB, free: 72 kB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.753e-05/0.2873, allocations: 12 kB / 1.006 GB, free: 60 kB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.2873, allocations: 15.92 kB / 1.006 GB, free: 44 kB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/0.2885, allocations: 278.5 kB / 1.006 GB, free: 15.77 MB / 0.6355 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.003564/0.2921, allocations: 1.364 MB / 1.007 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/0.2932, allocations: 278.5 kB / 1.008 GB, free: 14.01 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005937/0.2938, allocations: 0.4986 MB / 1.008 GB, free: 13.4 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.2939, allocations: 34.56 kB / 1.008 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=25): time 2.785e-06/0.2939, allocations: 0 / 1.008 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of matching and sorting (n=25): time 0.003023/0.2969, allocations: 0.5888 MB / 1.009 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/0.297, allocations: 59.41 kB / 1.009 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007974/0.2978, allocations: 454.2 kB / 1.009 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.248e-05/0.2979, allocations: 37.7 kB / 1.009 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002632/0.2981, allocations: 248.4 kB / 1.009 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.2983, allocations: 82.7 kB / 1.01 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.978e-05/0.2983, allocations: 8 kB / 1.01 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001881/0.2985, allocations: 358.7 kB / 1.01 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005344/0.2991, allocations: 127.9 kB / 1.01 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000631/0.2997, allocations: 189 kB / 1.01 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006033/0.3003, allocations: 140.8 kB / 1.01 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.3003, allocations: 4 kB / 1.01 GB, free: 11 MB / 0.6355 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001721/0.3021, allocations: 428.5 kB / 1.011 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001542/0.3022, allocations: 270.9 kB / 1.011 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.3023, allocations: 0 / 1.011 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004974/0.3028, allocations: 56.86 kB / 1.011 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006535/0.3034, allocations: 75.88 kB / 1.011 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005919/0.304, allocations: 0.564 MB / 1.012 GB, free: 9.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008632/0.3049, allocations: 67.67 kB / 1.012 GB, free: 9.504 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.078e-05/0.305, allocations: 19.94 kB / 1.012 GB, free: 9.484 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.305, allocations: 8.062 kB / 1.012 GB, free: 9.477 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001268/0.3063, allocations: 326.6 kB / 1.012 GB, free: 9.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.3063, allocations: 0 / 1.012 GB, free: 9.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.196e-06/0.3064, allocations: 4 kB / 1.012 GB, free: 9.156 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007287/0.3071, allocations: 75.89 kB / 1.012 GB, free: 9.082 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.3071, allocations: 4 kB / 1.012 GB, free: 9.078 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007907/0.3079, allocations: 68.19 kB / 1.012 GB, free: 9.012 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.148e-05/0.308, allocations: 12 kB / 1.012 GB, free: 9 MB / 0.6355 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 () * Number of clocked 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.000384/0.3084, allocations: 245 kB / 1.012 GB, free: 8.75 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.3085, allocations: 59.38 kB / 1.012 GB, free: 8.691 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001622/0.3102, allocations: 440.1 kB / 1.013 GB, free: 8.25 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.576e-05/0.3102, allocations: 12 kB / 1.013 GB, free: 8.238 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.3102, allocations: 0 / 1.013 GB, free: 8.238 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.3102, allocations: 0 / 1.013 GB, free: 8.238 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002486/0.3127, allocations: 0.9667 MB / 1.014 GB, free: 7.199 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.3127, allocations: 0 / 1.014 GB, free: 7.199 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004457/0.3132, allocations: 60.03 kB / 1.014 GB, free: 7.141 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002754/0.3135, allocations: 40.83 kB / 1.014 GB, free: 7.098 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.29e-05/0.3135, allocations: 8 kB / 1.014 GB, free: 7.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005027/0.3141, allocations: 0.5562 MB / 1.015 GB, free: 6.508 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.3141, allocations: 3.953 kB / 1.015 GB, free: 6.504 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001437/0.3155, allocations: 0.5652 MB / 1.015 GB, free: 5.883 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003129/0.3159, allocations: 160.3 kB / 1.015 GB, free: 5.707 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.282e-05/0.316, allocations: 8 kB / 1.015 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000687/0.3167, allocations: 43.95 kB / 1.015 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.3168, allocations: 19.97 kB / 1.015 GB, free: 5.637 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.075e-05/0.3168, allocations: 16 kB / 1.015 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005755/0.3174, allocations: 314.9 kB / 1.016 GB, free: 5.316 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.11e-07/0.3174, allocations: 0 / 1.016 GB, free: 5.316 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001121/0.3186, allocations: 255.5 kB / 1.016 GB, free: 5.066 MB / 0.6355 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 () * Number of clocked 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.00251/0.3211, allocations: 1.495 MB / 1.017 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002092/0.3232, allocations: 491.8 kB / 1.018 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.3232, allocations: 0 / 1.018 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007271/0.324, allocations: 190.4 kB / 1.018 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002406/0.3264, allocations: 250.6 kB / 1.018 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003238/0.3296, allocations: 1.636 MB / 1.02 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005696/0.3303, allocations: 0.8669 MB / 1.021 GB, free: 12 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0008355/0.3311, allocations: 120.8 kB / 1.021 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003786/0.3315, allocations: 175.4 kB / 1.021 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of SimCode: time 1.092e-06/0.3315, allocations: 0 / 1.021 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05128/0.3828, allocations: 14.14 MB / 1.035 GB, free: 1.883 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003561/0.3832, allocations: 255.3 kB / 1.035 GB, free: 1.547 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.16/3.543, allocations: 0 / 1.035 GB, free: 1.547 MB / 0.6511 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)