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.613/2.613, allocations: 287.5 MB / 302.4 MB, free: 8.262 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.00209/0.00209, allocations: 187.3 kB / 371 MB, free: 10.84 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.271/2.271, allocations: 205.4 MB / 0.6297 GB, free: 10.58 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.0009254/0.0009255, allocations: 88.44 kB / 0.743 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005502/0.0005504, allocations: 16.05 kB / 0.8659 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2495, allocations: 115.3 MB / 0.9784 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.02297/0.2725, allocations: 19.04 MB / 0.997 GB, free: 9.172 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.007932/0.2805, allocations: 4.619 MB / 1.002 GB, free: 4.543 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008243/0.2814, allocations: 15.88 kB / 1.002 GB, free: 4.527 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0008949/0.2823, allocations: 194.7 kB / 1.002 GB, free: 4.336 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002605/0.2849, allocations: 0.6458 MB / 1.002 GB, free: 3.688 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002543/0.2875, allocations: 0.605 MB / 1.003 GB, free: 3.09 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002438/0.2899, allocations: 1.542 MB / 1.004 GB, free: 1.543 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007438/0.2907, allocations: 358.7 kB / 1.005 GB, free: 1.191 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001338/0.2921, allocations: 0.494 MB / 1.005 GB, free: 0.6953 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008688/0.293, allocations: 422.2 kB / 1.006 GB, free: 288 kB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001254/0.2931, allocations: 24 kB / 1.006 GB, free: 264 kB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001728/0.2949, allocations: 0.5223 MB / 1.006 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002148/0.2951, allocations: 95.58 kB / 1.006 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002612/0.2954, allocations: 133.3 kB / 1.006 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001367/0.2968, allocations: 0.5572 MB / 1.007 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.2968, allocations: 0 / 1.007 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.508e-06/0.2968, allocations: 0 / 1.007 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.171e-05/0.2968, allocations: 7.938 kB / 1.007 GB, free: 14.94 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.002454/0.2993, allocations: 0.8293 MB / 1.008 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.879e-05/0.2994, allocations: 16.03 kB / 1.008 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001588/0.2995, allocations: 62.53 kB / 1.008 GB, free: 13.97 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001959/0.2998, allocations: 63.25 kB / 1.008 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.3008, allocations: 430.9 kB / 1.008 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.384e-05/0.3009, allocations: 28.66 kB / 1.008 GB, free: 13.42 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.756e-05/0.301, allocations: 32 kB / 1.008 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.302, allocations: 322 kB / 1.009 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.3021, allocations: 3.938 kB / 1.009 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.76e-05/0.3021, allocations: 8 kB / 1.009 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/0.3022, allocations: 8 kB / 1.009 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001091/0.3033, allocations: 278.4 kB / 1.009 GB, free: 12.78 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.003633/0.3069, allocations: 1.36 MB / 1.01 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008866/0.3078, allocations: 266.5 kB / 1.011 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005703/0.3084, allocations: 136.8 kB / 1.011 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006192/0.3091, allocations: 0.4948 MB / 1.011 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.513e-05/0.3091, allocations: 50.44 kB / 1.011 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=25): time 2.856e-06/0.3091, allocations: 0 / 1.011 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=25): time 0.003181/0.3123, allocations: 0.5884 MB / 1.012 GB, free: 9.609 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.3124, allocations: 55.41 kB / 1.012 GB, free: 9.543 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008398/0.3133, allocations: 462.1 kB / 1.012 GB, free: 9.078 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.736e-05/0.3134, allocations: 33.7 kB / 1.012 GB, free: 9.039 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002658/0.3137, allocations: 248.4 kB / 1.013 GB, free: 8.793 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/0.3138, allocations: 82.75 kB / 1.013 GB, free: 8.711 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.869e-05/0.3138, allocations: 4 kB / 1.013 GB, free: 8.707 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000198/0.314, allocations: 358.8 kB / 1.013 GB, free: 8.348 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000561/0.3146, allocations: 128.1 kB / 1.013 GB, free: 8.223 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006303/0.3153, allocations: 188.9 kB / 1.013 GB, free: 8.02 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005945/0.3159, allocations: 147.9 kB / 1.013 GB, free: 7.879 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.3159, allocations: 0 / 1.013 GB, free: 7.879 MB / 0.6355 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002711/0.3186, allocations: 422.4 kB / 1.014 GB, free: 7.457 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001564/0.3189, allocations: 116.9 kB / 1.014 GB, free: 7.332 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/0.3189, allocations: 4 kB / 1.014 GB, free: 7.328 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007496/0.3197, allocations: 56.73 kB / 1.014 GB, free: 7.27 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/0.3209, allocations: 79.89 kB / 1.014 GB, free: 7.191 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001073/0.3221, allocations: 0.5562 MB / 1.015 GB, free: 6.609 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001553/0.3237, allocations: 71.69 kB / 1.015 GB, free: 6.539 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002371/0.3239, allocations: 20 kB / 1.015 GB, free: 6.52 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.324, allocations: 7.938 kB / 1.015 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002206/0.3262, allocations: 316.5 kB / 1.015 GB, free: 6.203 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.3263, allocations: 4 kB / 1.015 GB, free: 6.199 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.778e-06/0.3263, allocations: 0 / 1.015 GB, free: 6.199 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/0.3275, allocations: 87.88 kB / 1.015 GB, free: 6.113 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.109e-05/0.3276, allocations: 7.953 kB / 1.015 GB, free: 6.105 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001367/0.329, allocations: 63.7 kB / 1.015 GB, free: 6.043 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/0.3292, allocations: 11.98 kB / 1.015 GB, free: 6.031 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.0005919/0.3298, allocations: 249 kB / 1.015 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002167/0.33, allocations: 43.44 kB / 1.015 GB, free: 5.734 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001743/0.3318, allocations: 447.9 kB / 1.016 GB, free: 5.285 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-05/0.3318, allocations: 7.953 kB / 1.016 GB, free: 5.277 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/0.3318, allocations: 3.984 kB / 1.016 GB, free: 5.273 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.3319, allocations: 0 / 1.016 GB, free: 5.273 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002722/0.3346, allocations: 0.959 MB / 1.017 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.647e-05/0.3347, allocations: 7.953 kB / 1.017 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004399/0.3351, allocations: 59.84 kB / 1.017 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002826/0.3354, allocations: 36.83 kB / 1.017 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.607e-05/0.3355, allocations: 16.11 kB / 1.017 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000548/0.336, allocations: 0.5563 MB / 1.018 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.336, allocations: 0 / 1.018 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00146/0.3375, allocations: 0.5078 MB / 1.018 GB, free: 3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003144/0.3378, allocations: 164.3 kB / 1.018 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.338, allocations: 8 kB / 1.018 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006461/0.3386, allocations: 43.95 kB / 1.018 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.3387, allocations: 23.91 kB / 1.018 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.61e-05/0.3388, allocations: 15.98 kB / 1.018 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005862/0.3394, allocations: 318.9 kB / 1.019 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.91e-07/0.3394, allocations: 0 / 1.019 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001162/0.3406, allocations: 251.4 kB / 1.019 GB, free: 2.176 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.002437/0.343, allocations: 1.175 MB / 1.02 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002149/0.3452, allocations: 497.7 kB / 1.02 GB, free: 492 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.3453, allocations: 0 / 1.02 GB, free: 492 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007615/0.346, allocations: 180 kB / 1.021 GB, free: 312 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002663/0.3487, allocations: 253.1 kB / 1.021 GB, free: 60 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007705/0.3565, allocations: 2.701 MB / 1.023 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005985/0.3571, allocations: 0.8588 MB / 1.024 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0008533/0.358, allocations: 124.2 kB / 1.024 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003823/0.3584, allocations: 175.4 kB / 1.025 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of SimCode: time 1.312e-06/0.3584, allocations: 0 / 1.025 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06495/0.4233, allocations: 14.43 MB / 1.039 GB, free: 13.98 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003298/0.4237, allocations: 260.4 kB / 1.039 GB, free: 13.63 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.221/3.644, allocations: 3.875 kB / 1.039 GB, free: 13.63 MB / 0.6667 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)