Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_CheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.776/1.776, allocations: 288.2 MB / 303.2 MB, free: 8.164 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.001229/0.00123, allocations: 177 kB / 371.8 MB, free: 10.28 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.687/1.687, allocations: 205.4 MB / 0.6305 GB, free: 10.04 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.001039/0.001039, allocations: 112.1 kB / 0.7439 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004001/0.0004004, allocations: 16 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2295, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.01395/0.2435, allocations: 17.42 MB / 0.9965 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00487/0.2484, allocations: 3.974 MB / 1 GB, free: 6.16 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006148/0.2491, allocations: 15.88 kB / 1 GB, free: 6.145 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000823/0.2499, allocations: 258.7 kB / 1.001 GB, free: 5.891 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002239/0.2522, allocations: 0.7921 MB / 1.001 GB, free: 5.098 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002133/0.2543, allocations: 0.7646 MB / 1.002 GB, free: 4.348 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001105/0.2554, allocations: 0.8422 MB / 1.003 GB, free: 3.504 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000414/0.2558, allocations: 350.8 kB / 1.003 GB, free: 3.16 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006683/0.2565, allocations: 474.4 kB / 1.004 GB, free: 2.695 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004115/0.2569, allocations: 318.7 kB / 1.004 GB, free: 2.383 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.383e-05/0.257, allocations: 20 kB / 1.004 GB, free: 2.363 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009918/0.258, allocations: 403.4 kB / 1.004 GB, free: 1.969 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.2581, allocations: 99.56 kB / 1.005 GB, free: 1.871 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001305/0.2583, allocations: 125.5 kB / 1.005 GB, free: 1.742 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005372/0.2588, allocations: 0.5027 MB / 1.005 GB, free: 1.238 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2588, allocations: 3.938 kB / 1.005 GB, free: 1.234 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.204e-06/0.2588, allocations: 0 / 1.005 GB, free: 1.234 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.2588, allocations: 0 / 1.005 GB, free: 1.234 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.001317/0.2602, allocations: 0.8215 MB / 1.006 GB, free: 372 kB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.2602, allocations: 12.03 kB / 1.006 GB, free: 360 kB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.765e-05/0.2603, allocations: 66.47 kB / 1.006 GB, free: 284 kB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.92e-05/0.2604, allocations: 63.25 kB / 1.006 GB, free: 220 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000655/0.2611, allocations: 434.9 kB / 1.007 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.568e-05/0.2611, allocations: 24.66 kB / 1.007 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.822e-05/0.2612, allocations: 36 kB / 1.007 GB, free: 15.69 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006665/0.2618, allocations: 329.8 kB / 1.007 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.2619, allocations: 0 / 1.007 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.387e-05/0.2619, allocations: 12 kB / 1.007 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.2619, allocations: 4 kB / 1.007 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006298/0.2626, allocations: 282.4 kB / 1.007 GB, free: 15.07 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.002205/0.2648, allocations: 1.352 MB / 1.008 GB, free: 13.6 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006634/0.2654, allocations: 291.9 kB / 1.009 GB, free: 13.31 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004355/0.2659, allocations: 0.4947 MB / 1.009 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.2659, allocations: 34.56 kB / 1.009 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=25): time 1.643e-06/0.2659, allocations: 0 / 1.009 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=25): time 0.001777/0.2677, allocations: 0.5865 MB / 1.01 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.2678, allocations: 59.39 kB / 1.01 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004863/0.2683, allocations: 458.2 kB / 1.01 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.73e-05/0.2683, allocations: 33.7 kB / 1.01 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001805/0.2685, allocations: 248.4 kB / 1.011 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.743e-05/0.2686, allocations: 82.75 kB / 1.011 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.758e-05/0.2686, allocations: 12 kB / 1.011 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.2688, allocations: 358.8 kB / 1.011 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002989/0.2691, allocations: 127.6 kB / 1.011 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004067/0.2695, allocations: 193 kB / 1.011 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003457/0.2699, allocations: 142.4 kB / 1.011 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2699, allocations: 0 / 1.011 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001022/0.2709, allocations: 429.5 kB / 1.012 GB, free: 9.883 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001571/0.2711, allocations: 279 kB / 1.012 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.2711, allocations: 3.938 kB / 1.012 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003483/0.2714, allocations: 52.81 kB / 1.012 GB, free: 9.531 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003688/0.2718, allocations: 83.88 kB / 1.012 GB, free: 9.449 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004435/0.2723, allocations: 0.5562 MB / 1.013 GB, free: 8.867 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004941/0.2728, allocations: 63.7 kB / 1.013 GB, free: 8.805 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.598e-05/0.2728, allocations: 19.98 kB / 1.013 GB, free: 8.785 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.344e-06/0.2728, allocations: 7.938 kB / 1.013 GB, free: 8.777 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007338/0.2736, allocations: 319.6 kB / 1.013 GB, free: 8.465 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.504e-06/0.2736, allocations: 0 / 1.013 GB, free: 8.465 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.276e-06/0.2736, allocations: 4 kB / 1.013 GB, free: 8.461 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000385/0.274, allocations: 91.88 kB / 1.013 GB, free: 8.371 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.966e-06/0.274, allocations: 0 / 1.013 GB, free: 8.371 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004284/0.2744, allocations: 59.7 kB / 1.013 GB, free: 8.312 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.955e-05/0.2745, allocations: 16 kB / 1.013 GB, free: 8.297 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.0002605/0.2748, allocations: 245 kB / 1.014 GB, free: 8.047 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.341e-05/0.2749, allocations: 51.39 kB / 1.014 GB, free: 7.996 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009916/0.2758, allocations: 439.9 kB / 1.014 GB, free: 7.555 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.427e-06/0.2759, allocations: 7.938 kB / 1.014 GB, free: 7.547 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.2759, allocations: 0 / 1.014 GB, free: 7.547 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.2759, allocations: 3.984 kB / 1.014 GB, free: 7.543 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001592/0.2775, allocations: 0.9725 MB / 1.015 GB, free: 6.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.2775, allocations: 0 / 1.015 GB, free: 6.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002495/0.2778, allocations: 51.91 kB / 1.015 GB, free: 6.449 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001724/0.2779, allocations: 44.83 kB / 1.015 GB, free: 6.402 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.443e-05/0.278, allocations: 8 kB / 1.015 GB, free: 6.395 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003454/0.2783, allocations: 0.5604 MB / 1.016 GB, free: 5.809 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.2784, allocations: 8.031 kB / 1.016 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008568/0.2792, allocations: 0.5565 MB / 1.016 GB, free: 5.188 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002075/0.2794, allocations: 160.3 kB / 1.016 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.514e-05/0.2795, allocations: 8 kB / 1.016 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003639/0.2799, allocations: 47.89 kB / 1.016 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.325e-05/0.2799, allocations: 19.97 kB / 1.016 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.413e-05/0.28, allocations: 12 kB / 1.016 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003601/0.2803, allocations: 318.9 kB / 1.017 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2804, allocations: 0 / 1.017 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007867/0.2811, allocations: 251.5 kB / 1.017 GB, free: 4.371 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.001762/0.2829, allocations: 1.504 MB / 1.019 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001219/0.2841, allocations: 484.2 kB / 1.019 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.2842, allocations: 4 kB / 1.019 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004134/0.2846, allocations: 179.8 kB / 1.019 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001323/0.2859, allocations: 257.3 kB / 1.019 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002123/0.2881, allocations: 1.628 MB / 1.021 GB, free: 220 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005082/0.2886, allocations: 0.8669 MB / 1.022 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004787/0.2891, allocations: 116.2 kB / 1.022 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002446/0.2893, allocations: 179.4 kB / 1.022 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of SimCode: time 5.51e-07/0.2893, allocations: 0 / 1.022 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03227/0.3216, allocations: 14.16 MB / 1.036 GB, free: 1.148 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002193/0.3219, allocations: 252.5 kB / 1.036 GB, free: 0.7969 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.605/2.927, allocations: 8 kB / 1.036 GB, free: 0.7891 MB / 0.6511 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_CheckValve_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_CheckValve.fmu > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)