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.732/1.732, allocations: 288.4 MB / 303.3 MB, free: 8.172 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.001232/0.001232, allocations: 184.4 kB / 372 MB, free: 10.27 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.692/1.692, allocations: 205.4 MB / 0.6307 GB, free: 9.98 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.0009155/0.0009155, allocations: 102.2 kB / 0.7441 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004386/0.0004387, allocations: 15.31 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/0.239, allocations: 115.3 MB / 0.9796 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.01559/0.2546, allocations: 19.03 MB / 0.9982 GB, free: 8.477 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005832/0.2605, allocations: 4.611 MB / 1.003 GB, free: 3.855 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007042/0.2612, allocations: 15.88 kB / 1.003 GB, free: 3.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007046/0.2619, allocations: 190.7 kB / 1.003 GB, free: 3.652 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002077/0.264, allocations: 0.6549 MB / 1.004 GB, free: 2.996 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001711/0.2658, allocations: 0.5931 MB / 1.004 GB, free: 2.41 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001611/0.2674, allocations: 1.552 MB / 1.006 GB, free: 0.8516 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004728/0.2679, allocations: 354.7 kB / 1.006 GB, free: 0.5039 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007371/0.2686, allocations: 0.49 MB / 1.006 GB, free: 12 kB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006036/0.2692, allocations: 426.4 kB / 1.007 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 6.344e-05/0.2693, allocations: 20 kB / 1.007 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001144/0.2705, allocations: 0.5223 MB / 1.007 GB, free: 15.05 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.2706, allocations: 95.58 kB / 1.008 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001511/0.2707, allocations: 129.4 kB / 1.008 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0007265/0.2715, allocations: 0.5571 MB / 1.008 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.2715, allocations: 4 kB / 1.008 GB, free: 14.26 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.358e-06/0.2715, allocations: 0 / 1.008 GB, free: 14.26 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.2715, allocations: 7.938 kB / 1.008 GB, free: 14.25 MB / 0.6355 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.001545/0.2731, allocations: 0.8293 MB / 1.009 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.2731, allocations: 12.03 kB / 1.009 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.279e-05/0.2732, allocations: 62.55 kB / 1.009 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.2733, allocations: 63.25 kB / 1.009 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006612/0.274, allocations: 434.9 kB / 1.01 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.15e-05/0.274, allocations: 28.66 kB / 1.01 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.041e-05/0.2741, allocations: 40 kB / 1.01 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007342/0.2749, allocations: 314 kB / 1.01 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.2749, allocations: 3.938 kB / 1.01 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.033e-05/0.2749, allocations: 8 kB / 1.01 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.2749, allocations: 8 kB / 1.01 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006531/0.2756, allocations: 282.4 kB / 1.01 GB, free: 12.09 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.002156/0.2778, allocations: 1.356 MB / 1.012 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005281/0.2783, allocations: 260.2 kB / 1.012 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003038/0.2786, allocations: 152.7 kB / 1.012 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004932/0.2791, allocations: 0.4948 MB / 1.012 GB, free: 9.594 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.2792, allocations: 46.44 kB / 1.012 GB, free: 9.539 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=25): time 2.545e-06/0.2792, allocations: 0 / 1.012 GB, free: 9.539 MB / 0.6355 GB Notification: Performance of matching and sorting (n=25): time 0.001831/0.281, allocations: 0.5853 MB / 1.013 GB, free: 8.926 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.2811, allocations: 55.41 kB / 1.013 GB, free: 8.859 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005406/0.2816, allocations: 458.2 kB / 1.014 GB, free: 8.398 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.025e-05/0.2817, allocations: 29.92 kB / 1.014 GB, free: 8.363 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001963/0.2819, allocations: 244.4 kB / 1.014 GB, free: 8.121 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.957e-05/0.282, allocations: 94.67 kB / 1.014 GB, free: 8.027 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.524e-05/0.282, allocations: 4 kB / 1.014 GB, free: 8.023 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.2822, allocations: 366.7 kB / 1.014 GB, free: 7.656 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003226/0.2825, allocations: 127.6 kB / 1.014 GB, free: 7.531 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004404/0.2829, allocations: 189 kB / 1.015 GB, free: 7.328 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003623/0.2833, allocations: 146.3 kB / 1.015 GB, free: 7.188 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.2833, allocations: 0 / 1.015 GB, free: 7.188 MB / 0.6355 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001032/0.2844, allocations: 425.2 kB / 1.015 GB, free: 6.766 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.083e-05/0.2845, allocations: 110.7 kB / 1.015 GB, free: 6.645 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.2845, allocations: 8 kB / 1.015 GB, free: 6.637 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003632/0.2849, allocations: 64.7 kB / 1.015 GB, free: 6.57 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003772/0.2852, allocations: 75.89 kB / 1.015 GB, free: 6.496 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000476/0.2857, allocations: 0.5602 MB / 1.016 GB, free: 5.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000532/0.2863, allocations: 64.89 kB / 1.016 GB, free: 5.848 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.652e-05/0.2863, allocations: 20.05 kB / 1.016 GB, free: 5.828 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.827e-06/0.2864, allocations: 4 kB / 1.016 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00076/0.2871, allocations: 311.7 kB / 1.016 GB, free: 5.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.435e-06/0.2871, allocations: 4 kB / 1.016 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.166e-06/0.2871, allocations: 0 / 1.016 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004053/0.2876, allocations: 87.88 kB / 1.016 GB, free: 5.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.2876, allocations: 4 kB / 1.016 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000446/0.288, allocations: 67.59 kB / 1.016 GB, free: 5.359 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.199e-05/0.2881, allocations: 15.98 kB / 1.016 GB, free: 5.344 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.0002841/0.2884, allocations: 253.2 kB / 1.017 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.189e-05/0.2884, allocations: 43.44 kB / 1.017 GB, free: 5.043 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009886/0.2894, allocations: 436.1 kB / 1.017 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/0.2895, allocations: 4 kB / 1.017 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.2895, allocations: 7.891 kB / 1.017 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.2895, allocations: 3.984 kB / 1.017 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001595/0.2911, allocations: 0.9647 MB / 1.018 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.2911, allocations: 4 kB / 1.018 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002418/0.2914, allocations: 60.03 kB / 1.018 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001813/0.2915, allocations: 40.78 kB / 1.018 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.791e-05/0.2916, allocations: 15.98 kB / 1.018 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004458/0.292, allocations: 0.564 MB / 1.019 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2921, allocations: 4.062 kB / 1.019 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008542/0.2929, allocations: 0.5029 MB / 1.019 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001992/0.2931, allocations: 160.3 kB / 1.019 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.015e-05/0.2932, allocations: 8 kB / 1.019 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003726/0.2936, allocations: 43.95 kB / 1.019 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.742e-05/0.2937, allocations: 19.91 kB / 1.019 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.699e-05/0.2937, allocations: 16 kB / 1.019 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003985/0.2941, allocations: 318.9 kB / 1.02 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2941, allocations: 0 / 1.02 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008275/0.2949, allocations: 251.5 kB / 1.02 GB, free: 1.488 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.001599/0.2966, allocations: 1.179 MB / 1.021 GB, free: 284 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00124/0.2978, allocations: 495 kB / 1.022 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.2978, allocations: 0 / 1.022 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004186/0.2982, allocations: 179.8 kB / 1.022 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001394/0.2997, allocations: 251.8 kB / 1.022 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004529/0.3042, allocations: 2.703 MB / 1.025 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004522/0.3047, allocations: 0.8549 MB / 1.026 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004785/0.3052, allocations: 112.7 kB / 1.026 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002341/0.3054, allocations: 179.4 kB / 1.026 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of SimCode: time 1.092e-06/0.3054, allocations: 4 kB / 1.026 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03143/0.3368, allocations: 14.44 MB / 1.04 GB, free: 13.27 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002538/0.3371, allocations: 260.8 kB / 1.04 GB, free: 12.91 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.443/2.78, allocations: 0 / 1.04 GB, free: 12.91 MB / 0.6667 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)