Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan_noReverseFlow.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.HeaterFan_noReverseFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Validation_HeaterFan_noReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FMI.Validation.HeaterFan_noReverseFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Validation_HeaterFan_noReverseFlow",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.001124/0.001124, allocations: 101.8 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.001131/0.001131, allocations: 192 kB / 17.34 MB, free: 5.727 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.279/1.279, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7579/0.7579, allocations: 122.9 MB / 414.1 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001226, allocations: 64.23 kB / 0.5679 GB, free: 28.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1344, allocations: 77.93 MB / 0.644 GB, free: 9.539 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.6515/0.7858, allocations: 304.8 MB / 0.9417 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.03524/0.8211, allocations: 27.45 MB / 0.9685 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003936/0.8251, allocations: 79.62 kB / 0.9686 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.007796/0.8329, allocations: 2.258 MB / 0.9708 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.009793/0.8428, allocations: 3.172 MB / 0.9739 GB, free: 9.727 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.006418/0.8492, allocations: 2.782 MB / 0.9766 GB, free: 6.953 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01134/0.8606, allocations: 7.274 MB / 0.9837 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002637/0.8632, allocations: 1.815 MB / 0.9855 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004206/0.8675, allocations: 2.312 MB / 0.9878 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002054/0.8695, allocations: 1.34 MB / 0.9891 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002697/0.8698, allocations: 212 kB / 0.9893 GB, free: 9.934 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005798/0.8756, allocations: 3.231 MB / 0.9924 GB, free: 6.695 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0007696/0.8764, allocations: 0.7595 MB / 0.9932 GB, free: 5.934 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001424/0.8778, allocations: 1.256 MB / 0.9944 GB, free: 4.672 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.006649/0.8845, allocations: 4.937 MB / 0.9992 GB, free: 15.72 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.8845, allocations: 0 / 0.9992 GB, free: 15.72 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.004e-06/0.8845, allocations: 4 kB / 0.9992 GB, free: 15.71 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.904e-05/0.8846, allocations: 0 / 0.9992 GB, free: 15.71 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: 277 * Number of variables: 277 Notification: Performance of Generate backend data structure: time 0.004343/0.889, allocations: 2.825 MB / 1.002 GB, free: 12.81 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.889, allocations: 16.55 kB / 1.002 GB, free: 12.8 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001913/0.8892, allocations: 172.9 kB / 1.002 GB, free: 12.62 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004418/0.8936, allocations: 0.7283 MB / 1.003 GB, free: 11.89 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009715/0.9034, allocations: 5.652 MB / 1.008 GB, free: 6.184 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/0.9035, allocations: 86.19 kB / 1.008 GB, free: 6.098 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002101/0.9037, allocations: 119.9 kB / 1.009 GB, free: 5.98 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002655/0.9064, allocations: 1.402 MB / 1.01 GB, free: 4.438 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.07e-05/0.9064, allocations: 7.938 kB / 1.01 GB, free: 4.43 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/0.9065, allocations: 48 kB / 1.01 GB, free: 4.383 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.114e-05/0.9066, allocations: 45.98 kB / 1.01 GB, free: 4.34 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002271/0.9089, allocations: 0.9717 MB / 1.011 GB, free: 3.367 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.00945/0.9183, allocations: 7.691 MB / 1.019 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008909/0.9193, allocations: 367.8 kB / 1.019 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003164/0.9196, allocations: 116.8 kB / 1.019 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002656/0.9199, allocations: 190.2 kB / 1.019 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.9199, allocations: 34.56 kB / 1.019 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 1.833e-06/0.9199, allocations: 3.938 kB / 1.019 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.001535/0.9214, allocations: 0.5313 MB / 1.02 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.9215, allocations: 55.41 kB / 1.02 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002826/0.9243, allocations: 2.288 MB / 1.022 GB, free: 7.582 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.12e-05/0.9244, allocations: 29.7 kB / 1.022 GB, free: 7.547 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007783/0.9252, allocations: 0.9959 MB / 1.023 GB, free: 6.539 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.683e-05/0.9252, allocations: 83.39 kB / 1.023 GB, free: 6.457 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003467/0.9256, allocations: 282.4 kB / 1.023 GB, free: 6.172 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.9257, allocations: 353.9 kB / 1.024 GB, free: 5.82 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008843/0.9266, allocations: 460.9 kB / 1.024 GB, free: 5.367 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001158/0.9278, allocations: 0.888 MB / 1.025 GB, free: 4.266 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00169/0.9295, allocations: 1.213 MB / 1.026 GB, free: 2.859 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/0.9295, allocations: 4 kB / 1.026 GB, free: 2.855 MB / 0.7794 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.002606/0.9321, allocations: 1.519 MB / 1.028 GB, free: 1.332 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.9322, allocations: 8 kB / 1.028 GB, free: 1.324 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.808e-05/0.9322, allocations: 16 kB / 1.028 GB, free: 1.309 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.904e-05/0.9322, allocations: 23.94 kB / 1.028 GB, free: 1.285 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008771/0.9331, allocations: 240 kB / 1.028 GB, free: 1.051 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.407e-05/0.9331, allocations: 27.92 kB / 1.028 GB, free: 1.023 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/0.9344, allocations: 222.5 kB / 1.028 GB, free: 0.8047 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.851e-05/0.9345, allocations: 55.92 kB / 1.028 GB, free: 0.75 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001462/0.936, allocations: 0.9396 MB / 1.029 GB, free: 15.8 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001069/0.9371, allocations: 0.8802 MB / 1.03 GB, free: 14.71 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001533/0.9386, allocations: 1.204 MB / 1.031 GB, free: 13.31 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.662e-06/0.9386, allocations: 4 kB / 1.031 GB, free: 13.31 MB / 0.795 GB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.002534/0.9412, allocations: 1.487 MB / 1.033 GB, free: 11.82 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.9412, allocations: 13.72 kB / 1.033 GB, free: 11.8 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/0.9412, allocations: 16 kB / 1.033 GB, free: 11.79 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.9413, allocations: 23.94 kB / 1.033 GB, free: 11.77 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008272/0.9421, allocations: 239.9 kB / 1.033 GB, free: 11.53 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.236e-05/0.9421, allocations: 27.92 kB / 1.033 GB, free: 11.5 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/0.9434, allocations: 139.4 kB / 1.033 GB, free: 11.37 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.208e-05/0.9435, allocations: 55.94 kB / 1.033 GB, free: 11.31 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * 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 (122): * Single equations (assignments): 120 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002349/0.9437, allocations: 244 kB / 1.033 GB, free: 11.07 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002298/0.9439, allocations: 210.6 kB / 1.034 GB, free: 10.86 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003772/0.9443, allocations: 172 kB / 1.034 GB, free: 10.69 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.9443, allocations: 3.938 kB / 1.034 GB, free: 10.68 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.9443, allocations: 8 kB / 1.034 GB, free: 10.68 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.9444, allocations: 3.938 kB / 1.034 GB, free: 10.67 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003269/0.9476, allocations: 1.862 MB / 1.036 GB, free: 8.699 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/0.9477, allocations: 4 kB / 1.036 GB, free: 8.695 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004387/0.9481, allocations: 52.03 kB / 1.036 GB, free: 8.645 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.143e-05/0.9481, allocations: 8 kB / 1.036 GB, free: 8.637 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.772e-05/0.9482, allocations: 11.98 kB / 1.036 GB, free: 8.625 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.276e-06/0.9482, allocations: 4 kB / 1.036 GB, free: 8.621 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-05/0.9482, allocations: 12.09 kB / 1.036 GB, free: 8.609 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001672/0.9499, allocations: 0.5876 MB / 1.036 GB, free: 7.949 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007815/0.9507, allocations: 335.6 kB / 1.037 GB, free: 7.602 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003432/0.9511, allocations: 15.98 kB / 1.037 GB, free: 7.586 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001304/0.9524, allocations: 43.95 kB / 1.037 GB, free: 7.543 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.408e-05/0.9524, allocations: 27.86 kB / 1.037 GB, free: 7.516 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.553e-05/0.9525, allocations: 15.98 kB / 1.037 GB, free: 7.5 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.003634/0.9561, allocations: 1.551 MB / 1.038 GB, free: 5.938 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.6e-07/0.9561, allocations: 0 / 1.038 GB, free: 5.938 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.003753/0.9599, allocations: 0.8192 MB / 1.039 GB, free: 5.117 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003395/0.9633, allocations: 1.459 MB / 1.04 GB, free: 3.578 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.004494/0.9678, allocations: 1.44 MB / 1.042 GB, free: 2.141 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/0.9679, allocations: 4 kB / 1.042 GB, free: 2.137 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0006297/0.9685, allocations: 125.8 kB / 1.042 GB, free: 2.016 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008372/0.9769, allocations: 1.075 MB / 1.043 GB, free: 0.9727 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02643/1.003, allocations: 13.75 MB / 1.056 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001251/1.005, allocations: 1.481 MB / 1.058 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0018/1.006, allocations: 461 kB / 1.058 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3075/1.314, allocations: 0.7234 MB / 1.059 GB, free: 327.7 MB / 0.8106 GB Notification: Performance of SimCode: time 1.332e-06/1.314, allocations: 0.7188 kB / 1.059 GB, free: 327.7 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07935/1.393, allocations: 51.83 MB / 1.11 GB, free: 297.4 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/12.94, allocations: 7.984 kB / 1.11 GB, free: 297.4 MB / 0.8106 GB (rm -f IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan_noReverseFlow.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan_noReverseFlow_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_HeaterFan_noReverseFlow.fmu > IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1)