Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFanPressureDriven.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.FMI.Validation.HeaterFanPressureDriven,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Validation_HeaterFanPressureDriven",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FMI.Validation.HeaterFanPressureDriven,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Validation_HeaterFanPressureDriven",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.00117/0.00117, allocations: 104.7 kB / 16.4 MB, free: 6.488 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.00114/0.00114, allocations: 195.8 kB / 17.34 MB, free: 5.762 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.188/1.188, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6869/0.6869, allocations: 122.8 MB / 414.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001112, allocations: 69.42 kB / 0.5679 GB, free: 28.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1143, allocations: 77.93 MB / 0.644 GB, free: 9.559 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Validation.HeaterFanPressureDriven): time 0.5314/0.6458, allocations: 312.5 MB / 0.9493 GB, free: 3.141 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.0308/0.6766, allocations: 29.36 MB / 0.9779 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002453/0.6791, allocations: 79.62 kB / 0.978 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.004986/0.6841, allocations: 2.388 MB / 0.9803 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.006218/0.6903, allocations: 3.195 MB / 0.9835 GB, free: 12 kB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.005304/0.6956, allocations: 2.743 MB / 0.9861 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.008771/0.7044, allocations: 7.557 MB / 0.9935 GB, free: 5.703 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00275/0.7072, allocations: 2.094 MB / 0.9956 GB, free: 3.562 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003942/0.7111, allocations: 2.402 MB / 0.9979 GB, free: 1.152 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002528/0.7137, allocations: 1.525 MB / 0.9994 GB, free: 15.63 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0004658/0.7142, allocations: 256 kB / 0.9996 GB, free: 15.38 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005736/0.7199, allocations: 3.621 MB / 1.003 GB, free: 11.75 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0008136/0.7207, allocations: 0.8219 MB / 1.004 GB, free: 10.93 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001572/0.7223, allocations: 1.396 MB / 1.005 GB, free: 9.523 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.006316/0.7286, allocations: 5.442 MB / 1.011 GB, free: 4.066 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.7287, allocations: 3.938 kB / 1.011 GB, free: 4.062 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.152e-06/0.7287, allocations: 0 / 1.011 GB, free: 4.062 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.521e-05/0.7287, allocations: 0 / 1.011 GB, free: 4.062 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 336 * Number of variables: 336 Notification: Performance of Generate backend data structure: time 0.004957/0.7337, allocations: 2.947 MB / 1.014 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.7337, allocations: 8.625 kB / 1.014 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002142/0.734, allocations: 194.4 kB / 1.014 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005439/0.7394, allocations: 0.9376 MB / 1.015 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008788/0.7482, allocations: 5.742 MB / 1.02 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.827e-05/0.7483, allocations: 106.6 kB / 1.02 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001886/0.7485, allocations: 132 kB / 1.02 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00289/0.7514, allocations: 1.61 MB / 1.022 GB, free: 8.18 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.81e-05/0.7514, allocations: 3.938 kB / 1.022 GB, free: 8.176 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001223/0.7516, allocations: 56 kB / 1.022 GB, free: 8.121 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.387e-05/0.7516, allocations: 46.53 kB / 1.022 GB, free: 8.074 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003096/0.7547, allocations: 1.337 MB / 1.023 GB, free: 6.73 MB / 0.7794 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.008834/0.7636, allocations: 7.794 MB / 1.031 GB, free: 14.39 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002419/0.766, allocations: 0.8713 MB / 1.032 GB, free: 13.48 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009654/0.767, allocations: 344.6 kB / 1.032 GB, free: 13.14 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002476/0.7672, allocations: 190.2 kB / 1.032 GB, free: 12.91 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.7673, allocations: 38.5 kB / 1.032 GB, free: 12.87 MB / 0.795 GB Notification: Performance of pre-optimization done (n=35): time 1.783e-06/0.7673, allocations: 0 / 1.032 GB, free: 12.87 MB / 0.795 GB Notification: Performance of matching and sorting (n=35): time 0.003169/0.7704, allocations: 1.057 MB / 1.034 GB, free: 11.8 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.7705, allocations: 55.41 kB / 1.034 GB, free: 11.73 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002445/0.7729, allocations: 2.172 MB / 1.036 GB, free: 9.539 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 6.595e-05/0.773, allocations: 37.69 kB / 1.036 GB, free: 9.496 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000722/0.7737, allocations: 0.9644 MB / 1.037 GB, free: 8.52 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.7739, allocations: 130.2 kB / 1.037 GB, free: 8.391 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003356/0.7742, allocations: 250.3 kB / 1.037 GB, free: 8.137 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.7743, allocations: 354 kB / 1.037 GB, free: 7.785 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001134/0.7755, allocations: 0.532 MB / 1.038 GB, free: 7.25 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001292/0.7768, allocations: 0.7973 MB / 1.039 GB, free: 6.332 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002246/0.779, allocations: 1.195 MB / 1.04 GB, free: 5.043 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.779, allocations: 0 / 1.04 GB, free: 5.043 MB / 0.795 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002891/0.7819, allocations: 1.537 MB / 1.041 GB, free: 3.496 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.782, allocations: 12 kB / 1.041 GB, free: 3.484 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.782, allocations: 4 kB / 1.041 GB, free: 3.48 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.782, allocations: 12 kB / 1.041 GB, free: 3.469 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/0.7832, allocations: 257.5 kB / 1.042 GB, free: 3.219 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003459/0.7835, allocations: 0.6133 MB / 1.042 GB, free: 2.582 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001134/0.7847, allocations: 186.3 kB / 1.042 GB, free: 2.398 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.907e-05/0.7848, allocations: 43.98 kB / 1.042 GB, free: 2.355 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001631/0.7864, allocations: 1.021 MB / 1.043 GB, free: 1.328 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001208/0.7876, allocations: 0.7895 MB / 1.044 GB, free: 436 kB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002078/0.7897, allocations: 1.163 MB / 1.045 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.182e-06/0.7897, allocations: 4 kB / 1.045 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.002725/0.7925, allocations: 1.512 MB / 1.047 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.7925, allocations: 8 kB / 1.047 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.7925, allocations: 4 kB / 1.047 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.7925, allocations: 15.94 kB / 1.047 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009802/0.7935, allocations: 240 kB / 1.047 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.7935, allocations: 15.92 kB / 1.047 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/0.7946, allocations: 115.4 kB / 1.047 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.787e-05/0.7946, allocations: 39.98 kB / 1.047 GB, free: 13.21 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (105): * Single equations (assignments): 102 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001967/0.7948, allocations: 232 kB / 1.047 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002215/0.7951, allocations: 197.4 kB / 1.048 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002163/0.7972, allocations: 0.8109 MB / 1.048 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.7973, allocations: 4 kB / 1.048 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.7973, allocations: 0 / 1.048 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.7973, allocations: 0 / 1.048 GB, free: 11.95 MB / 0.8106 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 postOpt removeSimpleEquations (simulation): time 0.003881/0.8012, allocations: 2.26 MB / 1.051 GB, free: 9.617 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.8012, allocations: 0 / 1.051 GB, free: 9.617 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007547/0.8019, allocations: 128 kB / 1.051 GB, free: 9.492 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.8019, allocations: 4 kB / 1.051 GB, free: 9.488 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.389e-05/0.802, allocations: 15.98 kB / 1.051 GB, free: 9.473 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002517/0.8023, allocations: 0.5977 MB / 1.051 GB, free: 8.852 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.8023, allocations: 0 / 1.051 GB, free: 8.852 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002029/0.8043, allocations: 0.9133 MB / 1.052 GB, free: 7.906 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005066/0.8048, allocations: 362.3 kB / 1.053 GB, free: 7.531 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000202/0.805, allocations: 19.94 kB / 1.053 GB, free: 7.512 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009562/0.806, allocations: 63.92 kB / 1.053 GB, free: 7.449 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.424e-05/0.8061, allocations: 23.97 kB / 1.053 GB, free: 7.426 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.708e-05/0.8061, allocations: 19.98 kB / 1.053 GB, free: 7.406 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001725/0.8078, allocations: 1.488 MB / 1.054 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8078, allocations: 4 kB / 1.054 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001752/0.8096, allocations: 0.8927 MB / 1.055 GB, free: 5.008 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002977/0.8126, allocations: 1.811 MB / 1.057 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00372/0.8163, allocations: 1.711 MB / 1.058 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.8163, allocations: 4 kB / 1.058 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0009566/0.8173, allocations: 324 kB / 1.059 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003794/0.8211, allocations: 1.141 MB / 1.06 GB, free: 16 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.263/1.084, allocations: 14.38 MB / 1.074 GB, free: 327 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001027/1.085, allocations: 1.54 MB / 1.075 GB, free: 326.1 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001665/1.087, allocations: 459.1 kB / 1.076 GB, free: 326.1 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008472/1.088, allocations: 0.809 MB / 1.077 GB, free: 325.5 MB / 0.8106 GB Notification: Performance of SimCode: time 1.473e-06/1.088, allocations: 1.5 kB / 1.077 GB, free: 325.5 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06788/1.156, allocations: 55.66 MB / 1.131 GB, free: 281.8 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.04/14.2, allocations: 14.72 kB / 1.131 GB, free: 281.8 MB / 0.8106 GB (rm -f IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFanPressureDriven.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFanPressureDriven.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFanPressureDriven.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFanPressureDriven.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFanPressureDriven_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_FMI_Validation_HeaterFanPressureDriven.fmu > IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFanPressureDriven.pipe 2>&1)