Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_CheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.585/1.585, allocations: 251.9 MB / 266.9 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00114/0.00114, allocations: 184.8 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.93/1.93, allocations: 205.4 MB / 0.5775 GB, free: 20.24 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001061/0.001061, allocations: 103.8 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003446/0.0003446, allocations: 13.09 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2541, allocations: 106.3 MB / 0.9001 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.01317/0.2673, allocations: 17.42 MB / 0.9172 GB, free: 46.39 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004785/0.2721, allocations: 3.95 MB / 0.921 GB, free: 42.43 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005142/0.2727, allocations: 15.88 kB / 0.921 GB, free: 42.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0007205/0.2734, allocations: 262.7 kB / 0.9213 GB, free: 42.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00179/0.2752, allocations: 0.7867 MB / 0.922 GB, free: 41.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00172/0.2769, allocations: 0.7247 MB / 0.9228 GB, free: 40.66 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0009844/0.2779, allocations: 0.8339 MB / 0.9236 GB, free: 39.83 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003937/0.2783, allocations: 350.9 kB / 0.9239 GB, free: 39.48 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005841/0.2789, allocations: 474.4 kB / 0.9244 GB, free: 39.02 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003287/0.2793, allocations: 314.7 kB / 0.9247 GB, free: 38.71 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.747e-05/0.2793, allocations: 20 kB / 0.9247 GB, free: 38.69 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000727/0.2801, allocations: 403.4 kB / 0.9251 GB, free: 38.29 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.034e-05/0.2802, allocations: 99.58 kB / 0.9252 GB, free: 38.2 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.768e-05/0.2802, allocations: 125.4 kB / 0.9253 GB, free: 38.07 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004546/0.2807, allocations: 0.5224 MB / 0.9258 GB, free: 37.54 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.2807, allocations: 0 / 0.9258 GB, free: 37.54 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2807, allocations: 0 / 0.9258 GB, free: 37.54 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.293e-06/0.2807, allocations: 0 / 0.9258 GB, free: 37.54 MB / 0.6042 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.001181/0.2819, allocations: 0.8175 MB / 0.9266 GB, free: 36.68 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.282, allocations: 8.031 kB / 0.9266 GB, free: 36.67 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.913e-05/0.282, allocations: 66.55 kB / 0.9267 GB, free: 36.59 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.406e-05/0.2821, allocations: 67.19 kB / 0.9267 GB, free: 36.53 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004964/0.2826, allocations: 427 kB / 0.9271 GB, free: 36.07 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.2827, allocations: 28.66 kB / 0.9272 GB, free: 36.04 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.361e-05/0.2827, allocations: 32 kB / 0.9272 GB, free: 36.01 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005255/0.2832, allocations: 317.9 kB / 0.9275 GB, free: 35.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.2833, allocations: 0 / 0.9275 GB, free: 35.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.728e-05/0.2833, allocations: 16 kB / 0.9275 GB, free: 35.68 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.2833, allocations: 8 kB / 0.9275 GB, free: 35.67 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000557/0.2839, allocations: 282.4 kB / 0.9278 GB, free: 35.4 MB / 0.6042 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.001751/0.2856, allocations: 1.353 MB / 0.9291 GB, free: 33.93 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005623/0.2862, allocations: 286.5 kB / 0.9294 GB, free: 33.64 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003248/0.2865, allocations: 0.4908 MB / 0.9299 GB, free: 33.04 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.739e-05/0.2866, allocations: 38.56 kB / 0.9299 GB, free: 32.99 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=25): time 1.492e-06/0.2866, allocations: 0 / 0.9299 GB, free: 32.99 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25): time 0.001544/0.2881, allocations: 0.5917 MB / 0.9305 GB, free: 32.37 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/0.2882, allocations: 55.41 kB / 0.9305 GB, free: 32.3 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003748/0.2886, allocations: 462.1 kB / 0.931 GB, free: 31.84 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/0.2886, allocations: 37.64 kB / 0.931 GB, free: 31.8 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.2887, allocations: 240.5 kB / 0.9312 GB, free: 31.56 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.304e-05/0.2888, allocations: 86.73 kB / 0.9313 GB, free: 31.47 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.567e-05/0.2888, allocations: 8.219 kB / 0.9313 GB, free: 31.46 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.508e-05/0.2889, allocations: 362.7 kB / 0.9317 GB, free: 31.1 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000258/0.2891, allocations: 127.6 kB / 0.9318 GB, free: 30.98 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002976/0.2894, allocations: 185.2 kB / 0.932 GB, free: 30.78 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002854/0.2897, allocations: 140.4 kB / 0.9321 GB, free: 30.64 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.2897, allocations: 0 / 0.9321 GB, free: 30.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008327/0.2906, allocations: 434.3 kB / 0.9325 GB, free: 30.21 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.618e-05/0.2907, allocations: 273.4 kB / 0.9328 GB, free: 29.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.2907, allocations: 0 / 0.9328 GB, free: 29.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003066/0.291, allocations: 64.83 kB / 0.9328 GB, free: 29.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003148/0.2913, allocations: 71.89 kB / 0.9329 GB, free: 29.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000288/0.2916, allocations: 0.5524 MB / 0.9334 GB, free: 29.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004746/0.2921, allocations: 79.7 kB / 0.9335 GB, free: 29.13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.784e-05/0.2921, allocations: 15.94 kB / 0.9335 GB, free: 29.12 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.993e-06/0.2921, allocations: 4 kB / 0.9335 GB, free: 29.11 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000604/0.2928, allocations: 323.1 kB / 0.9338 GB, free: 28.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.345e-06/0.2928, allocations: 4.078 kB / 0.9338 GB, free: 28.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.757e-06/0.2928, allocations: 4 kB / 0.9339 GB, free: 28.79 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003438/0.2931, allocations: 83.88 kB / 0.9339 GB, free: 28.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.2931, allocations: 3.984 kB / 0.9339 GB, free: 28.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003865/0.2935, allocations: 71.58 kB / 0.934 GB, free: 28.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.678e-05/0.2936, allocations: 15.98 kB / 0.934 GB, free: 28.62 MB / 0.6042 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.0001993/0.2938, allocations: 241 kB / 0.9342 GB, free: 28.38 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.513e-05/0.2938, allocations: 55.3 kB / 0.9343 GB, free: 28.32 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008248/0.2947, allocations: 436.7 kB / 0.9347 GB, free: 27.88 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/0.2947, allocations: 4 kB / 0.9347 GB, free: 27.88 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.82e-06/0.2947, allocations: 0 / 0.9347 GB, free: 27.88 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.2947, allocations: 7.984 kB / 0.9347 GB, free: 27.87 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001278/0.296, allocations: 0.9666 MB / 0.9357 GB, free: 26.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.296, allocations: 0 / 0.9357 GB, free: 26.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002167/0.2962, allocations: 56.03 kB / 0.9357 GB, free: 26.78 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001439/0.2964, allocations: 44.83 kB / 0.9358 GB, free: 26.73 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.056e-05/0.2964, allocations: 11.98 kB / 0.9358 GB, free: 26.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002269/0.2967, allocations: 0.5601 MB / 0.9363 GB, free: 26.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.2967, allocations: 7.984 kB / 0.9363 GB, free: 26.13 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006595/0.2973, allocations: 0.5584 MB / 0.9369 GB, free: 25.52 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001428/0.2975, allocations: 164.3 kB / 0.937 GB, free: 25.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.031e-05/0.2976, allocations: 8 kB / 0.937 GB, free: 25.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003406/0.2979, allocations: 43.89 kB / 0.9371 GB, free: 25.29 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.938e-05/0.298, allocations: 27.83 kB / 0.9371 GB, free: 25.26 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-05/0.298, allocations: 15.98 kB / 0.9371 GB, free: 25.24 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002708/0.2983, allocations: 310.9 kB / 0.9374 GB, free: 24.94 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2983, allocations: 0 / 0.9374 GB, free: 24.94 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006578/0.299, allocations: 259.5 kB / 0.9377 GB, free: 24.69 MB / 0.6042 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.001316/0.3003, allocations: 1.489 MB / 0.9391 GB, free: 23.15 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001027/0.3013, allocations: 495.5 kB / 0.9396 GB, free: 22.66 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3013, allocations: 0 / 0.9396 GB, free: 22.66 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003583/0.3017, allocations: 176 kB / 0.9398 GB, free: 22.49 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/0.303, allocations: 256.5 kB / 0.94 GB, free: 22.25 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/0.3046, allocations: 1.628 MB / 0.9416 GB, free: 20.54 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002336/0.3048, allocations: 0.863 MB / 0.9424 GB, free: 19.65 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000429/0.3053, allocations: 124.2 kB / 0.9426 GB, free: 19.53 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001995/0.3055, allocations: 171.4 kB / 0.9427 GB, free: 19.36 MB / 0.6042 GB Notification: Performance of SimCode: time 8.82e-07/0.3055, allocations: 0 / 0.9427 GB, free: 19.36 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07498/0.3805, allocations: 14.17 MB / 0.9566 GB, free: 5.48 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002257/0.3807, allocations: 252.5 kB / 0.9568 GB, free: 5.129 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.452/2.833, allocations: 0 / 0.9568 GB, free: 5.129 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_CheckValve_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_CheckValve.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)