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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009236/0.0009236, allocations: 99.94 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009639/0.0009639, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.827/1.827, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.928/1.928, allocations: 292.6 MB / 0.5497 GB, free: 14.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004989/0.0004989, allocations: 17.66 kB / 0.6737 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.2409, allocations: 116.3 MB / 0.7872 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.01801/0.259, allocations: 17.42 MB / 0.8042 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.005883/0.2649, allocations: 3.961 MB / 0.8081 GB, free: 6.469 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005933/0.2655, allocations: 15.88 kB / 0.8081 GB, free: 6.453 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0009039/0.2665, allocations: 258.7 kB / 0.8084 GB, free: 6.199 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00241/0.2689, allocations: 0.7975 MB / 0.8091 GB, free: 5.402 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002073/0.271, allocations: 0.7652 MB / 0.8099 GB, free: 4.652 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001333/0.2723, allocations: 0.8359 MB / 0.8107 GB, free: 3.816 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005558/0.2729, allocations: 354.7 kB / 0.811 GB, free: 3.465 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008398/0.2737, allocations: 474.4 kB / 0.8115 GB, free: 3 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004532/0.2742, allocations: 322.7 kB / 0.8118 GB, free: 2.684 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 5.19e-05/0.2742, allocations: 24 kB / 0.8118 GB, free: 2.66 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008498/0.2751, allocations: 395.4 kB / 0.8122 GB, free: 2.273 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.2752, allocations: 95.62 kB / 0.8123 GB, free: 2.18 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.2754, allocations: 129.4 kB / 0.8124 GB, free: 2.047 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0005986/0.276, allocations: 0.5027 MB / 0.8129 GB, free: 1.543 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.276, allocations: 3.938 kB / 0.8129 GB, free: 1.539 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.523e-06/0.276, allocations: 4 kB / 0.8129 GB, free: 1.535 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.276, allocations: 0 / 0.8129 GB, free: 1.535 MB / 0.6231 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.001398/0.2774, allocations: 0.8176 MB / 0.8137 GB, free: 0.668 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.2774, allocations: 12.03 kB / 0.8137 GB, free: 0.6562 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.208e-05/0.2775, allocations: 62.53 kB / 0.8138 GB, free: 0.5859 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001181/0.2776, allocations: 63.25 kB / 0.8138 GB, free: 0.5234 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006507/0.2783, allocations: 438.9 kB / 0.8143 GB, free: 52 kB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.931e-05/0.2783, allocations: 20.66 kB / 0.8143 GB, free: 28 kB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.379e-05/0.2784, allocations: 36.08 kB / 0.8143 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006209/0.2791, allocations: 321.9 kB / 0.8146 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.2791, allocations: 0 / 0.8146 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.134e-05/0.2791, allocations: 12 kB / 0.8146 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.2791, allocations: 7.938 kB / 0.8146 GB, free: 15.65 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006062/0.2797, allocations: 282.4 kB / 0.8149 GB, free: 15.38 MB / 0.6387 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.002181/0.2819, allocations: 1.356 MB / 0.8162 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006374/0.2826, allocations: 286.5 kB / 0.8165 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004614/0.2831, allocations: 0.4986 MB / 0.817 GB, free: 13 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.2831, allocations: 38.97 kB / 0.817 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=25): time 1.442e-06/0.2831, allocations: 4 kB / 0.817 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of matching and sorting (n=25): time 0.001674/0.2848, allocations: 0.5839 MB / 0.8176 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.2848, allocations: 55.41 kB / 0.8177 GB, free: 12.28 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005055/0.2853, allocations: 462.2 kB / 0.8181 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.287e-05/0.2854, allocations: 33.7 kB / 0.8181 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001927/0.2856, allocations: 248.4 kB / 0.8184 GB, free: 11.53 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 8.158e-05/0.2857, allocations: 90.73 kB / 0.8185 GB, free: 11.44 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.646e-05/0.2857, allocations: 4 kB / 0.8185 GB, free: 11.44 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.2859, allocations: 358.8 kB / 0.8188 GB, free: 11.08 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003018/0.2862, allocations: 123.9 kB / 0.8189 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003546/0.2865, allocations: 188.9 kB / 0.8191 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003192/0.2869, allocations: 147.2 kB / 0.8192 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.2869, allocations: 0 / 0.8192 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00094/0.2878, allocations: 426.6 kB / 0.8196 GB, free: 10.19 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001453/0.288, allocations: 282.3 kB / 0.8199 GB, free: 9.895 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.288, allocations: 0 / 0.8199 GB, free: 9.895 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003473/0.2884, allocations: 52.75 kB / 0.82 GB, free: 9.84 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003313/0.2887, allocations: 76 kB / 0.82 GB, free: 9.766 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004376/0.2891, allocations: 0.5679 MB / 0.8206 GB, free: 9.172 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000469/0.2896, allocations: 67.7 kB / 0.8207 GB, free: 9.105 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.13e-05/0.2897, allocations: 15.98 kB / 0.8207 GB, free: 9.09 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.007e-06/0.2897, allocations: 6.656 kB / 0.8207 GB, free: 9.086 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006983/0.2904, allocations: 319.6 kB / 0.821 GB, free: 8.773 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.2904, allocations: 4 kB / 0.821 GB, free: 8.77 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.796e-06/0.2904, allocations: 0 / 0.821 GB, free: 8.77 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003762/0.2908, allocations: 87.89 kB / 0.8211 GB, free: 8.684 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.896e-06/0.2908, allocations: 0 / 0.8211 GB, free: 8.684 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003999/0.2912, allocations: 67.69 kB / 0.8211 GB, free: 8.617 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.792e-05/0.2913, allocations: 12 kB / 0.8211 GB, free: 8.605 MB / 0.6387 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.000243/0.2915, allocations: 248.2 kB / 0.8214 GB, free: 8.355 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.278e-05/0.2916, allocations: 51.39 kB / 0.8214 GB, free: 8.305 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009436/0.2925, allocations: 444 kB / 0.8219 GB, free: 7.859 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-06/0.2926, allocations: 4 kB / 0.8219 GB, free: 7.855 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2926, allocations: 0 / 0.8219 GB, free: 7.855 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.2926, allocations: 0 / 0.8219 GB, free: 7.855 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001525/0.2941, allocations: 0.9748 MB / 0.8228 GB, free: 6.809 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/0.2941, allocations: 8 kB / 0.8228 GB, free: 6.801 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002268/0.2944, allocations: 51.91 kB / 0.8229 GB, free: 6.75 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000164/0.2945, allocations: 44.81 kB / 0.8229 GB, free: 6.703 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.145e-05/0.2946, allocations: 12.12 kB / 0.8229 GB, free: 6.691 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000351/0.2949, allocations: 0.5524 MB / 0.8235 GB, free: 6.113 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.2949, allocations: 7.938 kB / 0.8235 GB, free: 6.105 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008214/0.2958, allocations: 0.55 MB / 0.824 GB, free: 5.5 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001825/0.296, allocations: 160.3 kB / 0.8242 GB, free: 5.324 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.063e-05/0.296, allocations: 8 kB / 0.8242 GB, free: 5.316 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003533/0.2964, allocations: 43.95 kB / 0.8242 GB, free: 5.273 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.532e-05/0.2965, allocations: 27.84 kB / 0.8242 GB, free: 5.246 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.341e-05/0.2965, allocations: 12 kB / 0.8242 GB, free: 5.234 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003431/0.2968, allocations: 322.9 kB / 0.8246 GB, free: 4.922 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.61e-07/0.2968, allocations: 0 / 0.8246 GB, free: 4.922 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007471/0.2976, allocations: 251.5 kB / 0.8248 GB, free: 4.676 MB / 0.6387 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.001526/0.2991, allocations: 1.504 MB / 0.8263 GB, free: 3.121 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001139/0.3003, allocations: 483.8 kB / 0.8267 GB, free: 2.648 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.3003, allocations: 0 / 0.8267 GB, free: 2.648 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003822/0.3007, allocations: 179.8 kB / 0.8269 GB, free: 2.473 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001295/0.302, allocations: 253.7 kB / 0.8271 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001991/0.304, allocations: 1.634 MB / 0.8287 GB, free: 0.5156 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004202/0.3044, allocations: 0.8708 MB / 0.8296 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004332/0.3049, allocations: 120.2 kB / 0.8297 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002253/0.3051, allocations: 179.4 kB / 0.8299 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of SimCode: time 5.01e-07/0.3051, allocations: 0 / 0.8299 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03069/0.3358, allocations: 14.14 MB / 0.8437 GB, free: 1.52 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002067/0.3361, allocations: 245.1 kB / 0.8439 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.61/2.946, allocations: 0 / 0.8439 GB, free: 1.188 MB / 0.6544 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) Environment - environmentSimulation: