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.001286/0.001286, allocations: 105.9 kB / 16.4 MB, free: 6.512 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.001252/0.001252, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.391/1.391, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8203/0.8203, allocations: 126.7 MB / 417.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 67.75 kB / 0.5735 GB, free: 27.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1409, allocations: 78.87 MB / 0.6505 GB, free: 3.598 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.6425/0.7834, allocations: 304.9 MB / 0.9483 GB, free: 1.949 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.03984/0.8233, allocations: 27.46 MB / 0.9751 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002974/0.8263, allocations: 83.56 kB / 0.9752 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00665/0.833, allocations: 2.232 MB / 0.9774 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.008793/0.8419, allocations: 3.069 MB / 0.9804 GB, free: 1.008 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.007477/0.8494, allocations: 2.744 MB / 0.9831 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01062/0.86, allocations: 7.062 MB / 0.99 GB, free: 7.195 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00285/0.8629, allocations: 1.823 MB / 0.9917 GB, free: 5.328 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005796/0.8687, allocations: 2.387 MB / 0.9941 GB, free: 2.934 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003053/0.8717, allocations: 1.342 MB / 0.9954 GB, free: 1.59 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0003594/0.8721, allocations: 219.9 kB / 0.9956 GB, free: 1.375 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00624/0.8784, allocations: 3.204 MB / 0.9987 GB, free: 14.16 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0008626/0.8792, allocations: 0.7556 MB / 0.9995 GB, free: 13.41 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001579/0.8808, allocations: 1.268 MB / 1.001 GB, free: 12.13 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.008175/0.889, allocations: 4.949 MB / 1.006 GB, free: 7.168 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.889, allocations: 0 / 1.006 GB, free: 7.168 MB / 0.7637 GB Notification: Performance of FrontEnd: time 3.607e-06/0.8891, allocations: 4 kB / 1.006 GB, free: 7.164 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.36e-05/0.8891, allocations: 3.938 kB / 1.006 GB, free: 7.16 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.004918/0.894, allocations: 2.82 MB / 1.008 GB, free: 4.266 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.8941, allocations: 8.031 kB / 1.008 GB, free: 4.258 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002198/0.8943, allocations: 176.9 kB / 1.008 GB, free: 4.074 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004431/0.8987, allocations: 0.7244 MB / 1.009 GB, free: 3.348 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01048/0.9092, allocations: 5.658 MB / 1.015 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.83e-05/0.9094, allocations: 90.12 kB / 1.015 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001772/0.9095, allocations: 127.9 kB / 1.015 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002778/0.9123, allocations: 1.391 MB / 1.016 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.665e-05/0.9124, allocations: 3.938 kB / 1.016 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001171/0.9125, allocations: 51.98 kB / 1.016 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.747e-05/0.9126, allocations: 49.98 kB / 1.016 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002421/0.915, allocations: 0.9717 MB / 1.017 GB, free: 10.82 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.009503/0.9245, allocations: 7.812 MB / 1.025 GB, free: 2.562 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000945/0.9255, allocations: 371.7 kB / 1.025 GB, free: 2.172 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003361/0.9258, allocations: 118.4 kB / 1.025 GB, free: 2.055 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002932/0.9261, allocations: 190.2 kB / 1.026 GB, free: 1.832 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.9262, allocations: 30.56 kB / 1.026 GB, free: 1.793 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 2.204e-06/0.9262, allocations: 0 / 1.026 GB, free: 1.793 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.00162/0.9278, allocations: 0.5335 MB / 1.026 GB, free: 1.254 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/0.9278, allocations: 59.34 kB / 1.026 GB, free: 1.184 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00336/0.9312, allocations: 2.28 MB / 1.028 GB, free: 14.88 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 6.191e-05/0.9313, allocations: 33.7 kB / 1.028 GB, free: 14.84 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000951/0.9322, allocations: 0.988 MB / 1.029 GB, free: 13.85 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 7.877e-05/0.9323, allocations: 79.42 kB / 1.029 GB, free: 13.77 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000418/0.9328, allocations: 294.3 kB / 1.03 GB, free: 13.48 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001802/0.9329, allocations: 353.9 kB / 1.03 GB, free: 13.12 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00098/0.9339, allocations: 452.9 kB / 1.031 GB, free: 12.68 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001329/0.9353, allocations: 0.8997 MB / 1.031 GB, free: 11.56 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001927/0.9372, allocations: 1.213 MB / 1.033 GB, free: 10.16 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.776e-06/0.9372, allocations: 4 kB / 1.033 GB, free: 10.16 MB / 0.795 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.002876/0.9401, allocations: 1.511 MB / 1.034 GB, free: 8.637 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.9401, allocations: 15.94 kB / 1.034 GB, free: 8.621 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.965e-05/0.9402, allocations: 12 kB / 1.034 GB, free: 8.609 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.263e-05/0.9402, allocations: 23.98 kB / 1.034 GB, free: 8.586 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009332/0.9411, allocations: 248 kB / 1.034 GB, free: 8.344 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-05/0.9412, allocations: 31.86 kB / 1.034 GB, free: 8.312 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/0.9425, allocations: 215.2 kB / 1.035 GB, free: 8.102 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.913e-05/0.9426, allocations: 55.98 kB / 1.035 GB, free: 8.047 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001655/0.9443, allocations: 0.9278 MB / 1.036 GB, free: 7.113 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001279/0.9456, allocations: 0.8802 MB / 1.036 GB, free: 6.027 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001778/0.9473, allocations: 1.201 MB / 1.038 GB, free: 4.629 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.873e-06/0.9474, allocations: 4 kB / 1.038 GB, free: 4.625 MB / 0.795 GB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.002679/0.9501, allocations: 1.498 MB / 1.039 GB, free: 3.121 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.9501, allocations: 11.94 kB / 1.039 GB, free: 3.109 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.9501, allocations: 16 kB / 1.039 GB, free: 3.094 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.9501, allocations: 20 kB / 1.039 GB, free: 3.074 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000858/0.951, allocations: 243.9 kB / 1.039 GB, free: 2.836 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.174e-05/0.951, allocations: 39.73 kB / 1.039 GB, free: 2.797 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/0.9522, allocations: 135.4 kB / 1.04 GB, free: 2.664 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.952e-05/0.9523, allocations: 52 kB / 1.04 GB, free: 2.613 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.000267/0.9526, allocations: 243.8 kB / 1.04 GB, free: 2.367 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002538/0.9529, allocations: 206.6 kB / 1.04 GB, free: 2.164 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003966/0.9533, allocations: 164 kB / 1.04 GB, free: 1.996 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.9533, allocations: 7.938 kB / 1.04 GB, free: 1.988 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.9533, allocations: 4 kB / 1.04 GB, free: 1.984 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.9533, allocations: 3.984 kB / 1.04 GB, free: 1.98 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00325/0.9566, allocations: 1.862 MB / 1.042 GB, free: 4 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.78e-06/0.9566, allocations: 4 kB / 1.042 GB, free: 0 / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003304/0.9569, allocations: 56.02 kB / 1.042 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.117e-05/0.9569, allocations: 8 kB / 1.042 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.802e-05/0.957, allocations: 11.94 kB / 1.042 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/0.957, allocations: 4 kB / 1.042 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.144e-05/0.957, allocations: 20.12 kB / 1.042 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.9581, allocations: 0.5797 MB / 1.043 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004756/0.9585, allocations: 335.6 kB / 1.043 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002109/0.9588, allocations: 11.94 kB / 1.043 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007986/0.9596, allocations: 55.94 kB / 1.043 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.985e-05/0.9596, allocations: 23.86 kB / 1.043 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.166e-05/0.9596, allocations: 8 kB / 1.043 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002414/0.9621, allocations: 1.555 MB / 1.045 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9621, allocations: 0 / 1.045 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00212/0.9642, allocations: 0.8192 MB / 1.045 GB, free: 12.42 MB / 0.8106 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.002156/0.9664, allocations: 1.454 MB / 1.047 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003035/0.9694, allocations: 1.44 MB / 1.048 GB, free: 9.445 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.9694, allocations: 0 / 1.048 GB, free: 9.445 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003707/0.9698, allocations: 121.8 kB / 1.048 GB, free: 9.328 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004425/0.9742, allocations: 1.079 MB / 1.049 GB, free: 8.277 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.294/1.268, allocations: 13.73 MB / 1.063 GB, free: 321.9 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001226/1.27, allocations: 1.478 MB / 1.064 GB, free: 321.2 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001826/1.271, allocations: 456.3 kB / 1.065 GB, free: 321.2 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008542/1.272, allocations: 0.7226 MB / 1.065 GB, free: 320.7 MB / 0.8106 GB Notification: Performance of SimCode: time 9.12e-07/1.272, allocations: 0 / 1.065 GB, free: 320.7 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08275/1.355, allocations: 51.82 MB / 1.116 GB, free: 287.6 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.95, allocations: 13.25 kB / 1.116 GB, free: 287.6 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)