Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_CheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="IBPSA_latest_IBPSA_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.0009508/0.0009509, allocations: 102 kB / 15.98 MB, free: 6.348 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.0009279/0.0009278, allocations: 195.1 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.224/1.224, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6371/0.6371, allocations: 115.3 MB / 406.1 MB, free: 6.355 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 63.91 kB / 493.2 MB, free: 0.6016 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2688/0.27, allocations: 76.17 MB / 0.556 GB, free: 36.29 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.01473/0.2848, allocations: 20.59 MB / 0.5761 GB, free: 21.63 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005153/0.29, allocations: 4.934 MB / 0.5809 GB, free: 18.15 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004861/0.2905, allocations: 17.5 kB / 0.581 GB, free: 18.14 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005976/0.2911, allocations: 230.1 kB / 0.5812 GB, free: 18.01 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001509/0.2926, allocations: 0.7575 MB / 0.5819 GB, free: 17.58 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001516/0.2942, allocations: 0.6405 MB / 0.5825 GB, free: 17.27 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001208/0.2954, allocations: 1.397 MB / 0.5839 GB, free: 16.63 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004626/0.2958, allocations: 434.2 kB / 0.5843 GB, free: 16.47 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007107/0.2966, allocations: 0.5718 MB / 0.5849 GB, free: 16.22 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004369/0.297, allocations: 465.6 kB / 0.5853 GB, free: 16.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.112e-05/0.2971, allocations: 41.94 kB / 0.5854 GB, free: 16.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009493/0.298, allocations: 0.6381 MB / 0.586 GB, free: 15.8 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.2981, allocations: 123.2 kB / 0.5861 GB, free: 15.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002119/0.2984, allocations: 291.6 kB / 0.5864 GB, free: 15.57 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008852/0.2993, allocations: 0.8289 MB / 0.5872 GB, free: 15.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2993, allocations: 0 / 0.5872 GB, free: 15.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2993, allocations: 0 / 0.5872 GB, free: 15.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.253e-06/0.2993, allocations: 3.938 kB / 0.5872 GB, free: 15.25 MB / 446.1 MB 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.001266/0.3006, allocations: 0.9299 MB / 0.5881 GB, free: 14.56 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.3006, allocations: 9.875 kB / 0.5881 GB, free: 14.56 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.7e-05/0.3007, allocations: 66.41 kB / 0.5882 GB, free: 14.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.3008, allocations: 64.09 kB / 0.5882 GB, free: 14.47 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000467/0.3012, allocations: 453.9 kB / 0.5887 GB, free: 14.13 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.3013, allocations: 27.91 kB / 0.5887 GB, free: 14.11 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.736e-05/0.3013, allocations: 35.56 kB / 0.5887 GB, free: 14.1 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005824/0.3019, allocations: 306.5 kB / 0.589 GB, free: 13.98 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.3019, allocations: 0 / 0.589 GB, free: 13.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.723e-05/0.302, allocations: 9.438 kB / 0.589 GB, free: 13.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.575e-06/0.302, allocations: 7.281 kB / 0.589 GB, free: 13.98 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000557/0.3025, allocations: 268.8 kB / 0.5893 GB, free: 13.9 MB / 446.1 MB 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.001772/0.3043, allocations: 1.336 MB / 0.5906 GB, free: 12.99 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004491/0.3048, allocations: 256.6 kB / 0.5908 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002628/0.3051, allocations: 136 kB / 0.591 GB, free: 12.84 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002937/0.3054, allocations: 0.4933 MB / 0.5915 GB, free: 12.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.724e-05/0.3054, allocations: 33.12 kB / 0.5915 GB, free: 12.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=25): time 1.343e-06/0.3054, allocations: 224 / 0.5915 GB, free: 12.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=25): time 0.001524/0.3069, allocations: 0.575 MB / 0.5921 GB, free: 11.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.558e-05/0.307, allocations: 57.81 kB / 0.5921 GB, free: 11.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003746/0.3073, allocations: 461.7 kB / 0.5925 GB, free: 11.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/0.3074, allocations: 36.73 kB / 0.5926 GB, free: 11.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.3075, allocations: 239.5 kB / 0.5928 GB, free: 11.29 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.67e-05/0.3075, allocations: 93.11 kB / 0.5929 GB, free: 11.21 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.3076, allocations: 77.61 kB / 0.593 GB, free: 11.16 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.009e-05/0.3077, allocations: 353.4 kB / 0.5933 GB, free: 10.81 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002683/0.308, allocations: 123.2 kB / 0.5934 GB, free: 10.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003093/0.3083, allocations: 186.8 kB / 0.5936 GB, free: 10.63 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000519/0.3088, allocations: 263.8 kB / 0.5939 GB, free: 10.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3088, allocations: 1.156 kB / 0.5939 GB, free: 10.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001392/0.3102, allocations: 0.495 MB / 0.5943 GB, free: 10.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.3103, allocations: 5.156 kB / 0.5943 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3103, allocations: 1.469 kB / 0.5943 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003121/0.3106, allocations: 57.59 kB / 0.5944 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003323/0.3109, allocations: 74.62 kB / 0.5945 GB, free: 10.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002707/0.3112, allocations: 0.5594 MB / 0.595 GB, free: 9.641 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004402/0.3117, allocations: 59.95 kB / 0.5951 GB, free: 9.605 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.741e-05/0.3117, allocations: 18.67 kB / 0.5951 GB, free: 9.598 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003348/0.312, allocations: 245.3 kB / 0.5953 GB, free: 9.434 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002834/0.3123, allocations: 175.2 kB / 0.5955 GB, free: 9.32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004738/0.3128, allocations: 263.6 kB / 0.5957 GB, free: 9.184 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.253e-06/0.3128, allocations: 0 / 0.5957 GB, free: 9.184 MB / 446.1 MB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0006491/0.3135, allocations: 370.6 kB / 0.5961 GB, free: 8.996 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.375e-06/0.3135, allocations: 7.031 kB / 0.5961 GB, free: 8.996 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.234e-06/0.3135, allocations: 1.406 kB / 0.5961 GB, free: 8.996 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.417e-06/0.3135, allocations: 9.062 kB / 0.5961 GB, free: 8.988 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003599/0.3139, allocations: 79.09 kB / 0.5962 GB, free: 8.969 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.396e-06/0.3139, allocations: 1.562 kB / 0.5962 GB, free: 8.969 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004/0.3143, allocations: 61.27 kB / 0.5963 GB, free: 8.934 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.797e-05/0.3143, allocations: 14.2 kB / 0.5963 GB, free: 8.93 MB / 446.1 MB 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 8.231e-05/0.3144, allocations: 198.3 kB / 0.5965 GB, free: 8.734 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.143e-05/0.3145, allocations: 47.22 kB / 0.5965 GB, free: 8.711 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000797/0.3153, allocations: 422.1 kB / 0.5969 GB, free: 8.457 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/0.3153, allocations: 2.844 kB / 0.5969 GB, free: 8.457 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3153, allocations: 9.547 kB / 0.5969 GB, free: 8.449 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3153, allocations: 0 / 0.5969 GB, free: 8.449 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/0.3165, allocations: 0.9475 MB / 0.5978 GB, free: 7.723 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.3166, allocations: 1.25 kB / 0.5978 GB, free: 7.723 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002101/0.3168, allocations: 47.16 kB / 0.5979 GB, free: 7.711 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001434/0.3169, allocations: 46.83 kB / 0.5979 GB, free: 7.684 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.3169, allocations: 11.48 kB / 0.5979 GB, free: 7.676 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002037/0.3172, allocations: 0.562 MB / 0.5985 GB, free: 7.121 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3172, allocations: 2.125 kB / 0.5985 GB, free: 7.121 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006553/0.3178, allocations: 496.1 kB / 0.599 GB, free: 6.781 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/0.318, allocations: 153 kB / 0.5991 GB, free: 6.633 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.81e-05/0.318, allocations: 6.906 kB / 0.5991 GB, free: 6.629 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003405/0.3184, allocations: 46.7 kB / 0.5992 GB, free: 6.602 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.227e-05/0.3184, allocations: 21.55 kB / 0.5992 GB, free: 6.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.287e-05/0.3185, allocations: 8.562 kB / 0.5992 GB, free: 6.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002719/0.3187, allocations: 324.1 kB / 0.5995 GB, free: 6.395 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.3187, allocations: 5.5 kB / 0.5995 GB, free: 6.391 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007005/0.3194, allocations: 253.8 kB / 0.5997 GB, free: 6.332 MB / 446.1 MB 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001145/0.3206, allocations: 1.171 MB / 0.6009 GB, free: 5.395 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001058/0.3217, allocations: 485.4 kB / 0.6014 GB, free: 5.195 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3217, allocations: 0 / 0.6014 GB, free: 5.195 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003513/0.322, allocations: 175.6 kB / 0.6015 GB, free: 5.117 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009865/0.323, allocations: 222.4 kB / 0.6017 GB, free: 5.008 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005009/0.3281, allocations: 4.236 MB / 0.6059 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.3283, allocations: 0.8586 MB / 0.6067 GB, free: 15.82 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004335/0.3288, allocations: 116.1 kB / 0.6068 GB, free: 15.71 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002115/0.329, allocations: 179.4 kB / 0.607 GB, free: 15.53 MB / 462.1 MB Notification: Performance of SimCode: time 3.21e-07/0.329, allocations: 0 / 0.607 GB, free: 15.53 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9222/1.251, allocations: 14.64 MB / 0.6213 GB, free: 1.242 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002354/1.251, allocations: 274.7 kB / 0.6215 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.077/3.329, allocations: 4 kB / 0.6216 GB, free: 0.8789 MB / 462.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_CheckValve_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_CheckValve.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)