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.00115/0.00115, allocations: 103.9 kB / 16.4 MB, free: 6.492 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.001153/0.001153, allocations: 193.2 kB / 17.34 MB, free: 5.766 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.296/1.296, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7333/0.7333, allocations: 115.3 MB / 406.5 MB, free: 6.215 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 66.3 kB / 0.5572 GB, free: 32.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1371, allocations: 76.18 MB / 0.6316 GB, free: 4.906 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Validation.HeaterFanPressureDriven): time 0.6077/0.7448, allocations: 312.6 MB / 0.9368 GB, free: 3.805 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.04954/0.7944, allocations: 29.35 MB / 0.9655 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004689/0.7992, allocations: 83.56 kB / 0.9656 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.01094/0.8102, allocations: 2.383 MB / 0.9679 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0139/0.8242, allocations: 3.188 MB / 0.971 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01138/0.8356, allocations: 2.749 MB / 0.9737 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01678/0.8524, allocations: 7.551 MB / 0.9811 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004669/0.8571, allocations: 2.098 MB / 0.9831 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006557/0.8637, allocations: 2.418 MB / 0.9855 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003798/0.8675, allocations: 1.541 MB / 0.987 GB, free: 276 kB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0007931/0.8683, allocations: 256 kB / 0.9872 GB, free: 20 kB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01023/0.8785, allocations: 3.606 MB / 0.9907 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001622/0.8802, allocations: 0.8297 MB / 0.9915 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.003303/0.8835, allocations: 1.396 MB / 0.9929 GB, free: 10.17 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.01218/0.8957, allocations: 5.438 MB / 0.9982 GB, free: 4.719 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.8958, allocations: 4 kB / 0.9982 GB, free: 4.715 MB / 0.7481 GB Notification: Performance of FrontEnd: time 6.322e-06/0.8958, allocations: 4 kB / 0.9982 GB, free: 4.711 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001134/0.8959, allocations: 0 / 0.9982 GB, free: 4.711 MB / 0.7481 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.009208/0.9052, allocations: 2.945 MB / 1.001 GB, free: 1.695 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.9052, allocations: 8.031 kB / 1.001 GB, free: 1.688 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005227/0.9058, allocations: 202.4 kB / 1.001 GB, free: 1.48 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00942/0.9152, allocations: 0.9296 MB / 1.002 GB, free: 0.5469 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01593/0.9312, allocations: 5.749 MB / 1.008 GB, free: 10.75 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000139/0.9314, allocations: 102.6 kB / 1.008 GB, free: 10.64 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003357/0.9317, allocations: 143.9 kB / 1.008 GB, free: 10.5 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004427/0.9362, allocations: 1.603 MB / 1.01 GB, free: 8.832 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.38e-05/0.9362, allocations: 0 / 1.01 GB, free: 8.832 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000155/0.9364, allocations: 55.98 kB / 1.01 GB, free: 8.777 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.544e-05/0.9364, allocations: 46.53 kB / 1.01 GB, free: 8.73 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004226/0.9407, allocations: 1.337 MB / 1.011 GB, free: 7.387 MB / 0.7637 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.01046/0.9512, allocations: 7.795 MB / 1.019 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002458/0.9536, allocations: 0.8723 MB / 1.019 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001003/0.9547, allocations: 340.7 kB / 1.02 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002675/0.955, allocations: 194.2 kB / 1.02 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.955, allocations: 42.56 kB / 1.02 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=35): time 2.204e-06/0.955, allocations: 0 / 1.02 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of matching and sorting (n=35): time 0.00349/0.9585, allocations: 1.054 MB / 1.021 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.9586, allocations: 59.41 kB / 1.021 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003064/0.9616, allocations: 2.176 MB / 1.023 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001137/0.9618, allocations: 33.7 kB / 1.023 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008052/0.9626, allocations: 0.9606 MB / 1.024 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001423/0.9627, allocations: 134.1 kB / 1.024 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003904/0.9631, allocations: 250.3 kB / 1.025 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.9633, allocations: 353.9 kB / 1.025 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001193/0.9645, allocations: 0.5282 MB / 1.025 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001355/0.9658, allocations: 0.8012 MB / 1.026 GB, free: 6.973 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002369/0.9682, allocations: 1.191 MB / 1.027 GB, free: 5.684 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.177e-06/0.9682, allocations: 8 kB / 1.027 GB, free: 5.676 MB / 0.7794 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003203/0.9714, allocations: 1.533 MB / 1.029 GB, free: 4.133 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.9715, allocations: 8 kB / 1.029 GB, free: 4.125 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.9715, allocations: 4.375 kB / 1.029 GB, free: 4.121 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.373e-05/0.9715, allocations: 16 kB / 1.029 GB, free: 4.105 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/0.9727, allocations: 251.6 kB / 1.029 GB, free: 3.859 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004019/0.9731, allocations: 0.6132 MB / 1.03 GB, free: 3.223 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001366/0.9745, allocations: 186.4 kB / 1.03 GB, free: 3.039 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.844e-05/0.9746, allocations: 43.98 kB / 1.03 GB, free: 2.996 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00189/0.9765, allocations: 1.022 MB / 1.031 GB, free: 1.969 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001262/0.9778, allocations: 0.7895 MB / 1.032 GB, free: 1.066 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002214/0.98, allocations: 1.167 MB / 1.033 GB, free: 15.8 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.643e-06/0.9801, allocations: 4 kB / 1.033 GB, free: 15.8 MB / 0.795 GB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.003477/0.9835, allocations: 1.504 MB / 1.034 GB, free: 14.29 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.9836, allocations: 17.8 kB / 1.034 GB, free: 14.27 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.018e-05/0.9836, allocations: 8 kB / 1.034 GB, free: 14.26 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.9836, allocations: 15.94 kB / 1.034 GB, free: 14.25 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.9846, allocations: 227.8 kB / 1.035 GB, free: 14.02 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.035e-05/0.9847, allocations: 19.92 kB / 1.035 GB, free: 14 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/0.986, allocations: 111.4 kB / 1.035 GB, free: 13.89 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.664e-05/0.9861, allocations: 45.31 kB / 1.035 GB, free: 13.85 MB / 0.795 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.0002704/0.9864, allocations: 224 kB / 1.035 GB, free: 13.62 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004325/0.9869, allocations: 209.3 kB / 1.035 GB, free: 13.42 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002501/0.9894, allocations: 0.7942 MB / 1.036 GB, free: 12.62 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.9894, allocations: 4 kB / 1.036 GB, free: 12.61 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.9894, allocations: 11.98 kB / 1.036 GB, free: 12.6 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.9894, allocations: 0 / 1.036 GB, free: 12.6 MB / 0.795 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.005003/0.9944, allocations: 2.25 MB / 1.038 GB, free: 10.28 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.9944, allocations: 0 / 1.038 GB, free: 10.28 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007645/0.9952, allocations: 132 kB / 1.038 GB, free: 10.15 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.676e-06/0.9952, allocations: 0 / 1.038 GB, free: 10.15 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.709e-05/0.9953, allocations: 15.98 kB / 1.038 GB, free: 10.13 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003377/0.9956, allocations: 0.6054 MB / 1.039 GB, free: 9.504 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.9957, allocations: 4.062 kB / 1.039 GB, free: 9.5 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002287/0.9979, allocations: 0.9172 MB / 1.04 GB, free: 8.551 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008438/0.9988, allocations: 354.3 kB / 1.04 GB, free: 8.184 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003557/0.9992, allocations: 15.92 kB / 1.04 GB, free: 8.168 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/1, allocations: 63.94 kB / 1.04 GB, free: 8.105 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.15e-05/1, allocations: 31.95 kB / 1.04 GB, free: 8.074 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.553e-05/1, allocations: 31.91 kB / 1.04 GB, free: 8.043 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002633/1.003, allocations: 1.484 MB / 1.042 GB, free: 6.547 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.7e-07/1.003, allocations: 0 / 1.042 GB, free: 6.547 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.002609/1.006, allocations: 0.8927 MB / 1.043 GB, free: 5.652 MB / 0.795 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.003837/1.01, allocations: 1.812 MB / 1.044 GB, free: 3.793 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.004342/1.014, allocations: 1.698 MB / 1.046 GB, free: 2.094 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/1.014, allocations: 3.984 kB / 1.046 GB, free: 2.09 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001009/1.015, allocations: 325.1 kB / 1.046 GB, free: 1.773 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00489/1.02, allocations: 1.14 MB / 1.047 GB, free: 0.6641 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3267/1.347, allocations: 14.39 MB / 1.062 GB, free: 320.9 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001139/1.348, allocations: 1.536 MB / 1.063 GB, free: 320.1 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001749/1.349, allocations: 462.2 kB / 1.063 GB, free: 320.1 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000879/1.35, allocations: 0.8134 MB / 1.064 GB, free: 319.4 MB / 0.795 GB Notification: Performance of SimCode: time 9.92e-07/1.35, allocations: 0 / 1.064 GB, free: 319.4 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0814/1.432, allocations: 56.49 MB / 1.119 GB, free: 273.2 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.64/16.07, allocations: 11.94 kB / 1.119 GB, free: 273.1 MB / 0.795 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FMI_Validation_HeaterFanPressureDriven_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FMI_Validation_HeaterFanPressureDriven.fmu > IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFanPressureDriven.pipe 2>&1)