Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan.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,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Validation_HeaterFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FMI.Validation.HeaterFan,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Validation_HeaterFan",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.001183/0.001183, allocations: 107.8 kB / 16.41 MB, free: 6.434 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: 197.4 kB / 17.34 MB, free: 5.742 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.187/1.187, 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.6855/0.6855, allocations: 122.9 MB / 414.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001103/0.001103, allocations: 64.27 kB / 0.5679 GB, free: 28.88 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1084, allocations: 77.93 MB / 0.644 GB, free: 9.543 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Validation.HeaterFan): time 0.5168/0.6252, allocations: 312.6 MB / 0.9494 GB, free: 2.977 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.03093/0.6562, allocations: 29.37 MB / 0.978 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002416/0.6586, allocations: 79.62 kB / 0.9781 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.004939/0.6636, allocations: 2.387 MB / 0.9805 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005852/0.6694, allocations: 3.184 MB / 0.9836 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.004996/0.6744, allocations: 2.757 MB / 0.9863 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.008274/0.6827, allocations: 7.543 MB / 0.9936 GB, free: 5.539 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002109/0.6848, allocations: 2.083 MB / 0.9957 GB, free: 3.41 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003155/0.688, allocations: 2.394 MB / 0.998 GB, free: 1.008 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00183/0.6899, allocations: 1.532 MB / 0.9995 GB, free: 15.48 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0002685/0.6901, allocations: 252 kB / 0.9997 GB, free: 15.23 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004956/0.6951, allocations: 3.606 MB / 1.003 GB, free: 11.62 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0006029/0.6957, allocations: 0.8219 MB / 1.004 GB, free: 10.79 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001091/0.6968, allocations: 1.4 MB / 1.005 GB, free: 9.387 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.00503/0.7018, allocations: 5.426 MB / 1.011 GB, free: 3.945 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.7019, allocations: 4 kB / 1.011 GB, free: 3.941 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.032e-06/0.7019, allocations: 0 / 1.011 GB, free: 3.941 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.982e-05/0.7019, allocations: 0 / 1.011 GB, free: 3.941 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: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.003928/0.7058, allocations: 2.939 MB / 1.014 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.7059, allocations: 8.625 kB / 1.014 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002014/0.7061, allocations: 190.3 kB / 1.014 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005467/0.7116, allocations: 0.9335 MB / 1.015 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008716/0.7203, allocations: 5.744 MB / 1.02 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.661e-05/0.7204, allocations: 102.6 kB / 1.02 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001834/0.7206, allocations: 136 kB / 1.021 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002772/0.7233, allocations: 1.593 MB / 1.022 GB, free: 8.098 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.569e-05/0.7234, allocations: 0 / 1.022 GB, free: 8.098 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001258/0.7235, allocations: 55.98 kB / 1.022 GB, free: 8.043 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.768e-05/0.7236, allocations: 58.48 kB / 1.022 GB, free: 7.984 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003053/0.7266, allocations: 1.325 MB / 1.023 GB, free: 6.652 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.008587/0.7352, allocations: 7.598 MB / 1.031 GB, free: 14.53 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001864/0.7371, allocations: 0.683 MB / 1.032 GB, free: 13.82 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006273/0.7377, allocations: 259.3 kB / 1.032 GB, free: 13.57 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002455/0.738, allocations: 190.2 kB / 1.032 GB, free: 13.34 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.738, allocations: 34.56 kB / 1.032 GB, free: 13.3 MB / 0.795 GB Notification: Performance of pre-optimization done (n=35): time 1.563e-06/0.738, allocations: 0 / 1.032 GB, free: 13.3 MB / 0.795 GB Notification: Performance of matching and sorting (n=35): time 0.002465/0.7405, allocations: 1.033 MB / 1.033 GB, free: 12.22 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.7405, allocations: 59.34 kB / 1.033 GB, free: 12.15 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002887/0.7434, allocations: 2.36 MB / 1.035 GB, free: 9.77 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.926e-05/0.7435, allocations: 33.7 kB / 1.035 GB, free: 9.73 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007541/0.7443, allocations: 0.969 MB / 1.036 GB, free: 8.75 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 9.641e-05/0.7444, allocations: 130.2 kB / 1.037 GB, free: 8.621 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003422/0.7447, allocations: 262.3 kB / 1.037 GB, free: 8.355 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.7448, allocations: 345.9 kB / 1.037 GB, free: 8.012 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001176/0.746, allocations: 0.5164 MB / 1.038 GB, free: 7.492 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001313/0.7474, allocations: 0.7894 MB / 1.038 GB, free: 6.582 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001969/0.7493, allocations: 1.128 MB / 1.039 GB, free: 5.359 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.067e-05/0.7494, allocations: 4 kB / 1.039 GB, free: 5.355 MB / 0.795 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003/0.7524, allocations: 1.617 MB / 1.041 GB, free: 3.707 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.7524, allocations: 8 kB / 1.041 GB, free: 3.699 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.7524, allocations: 8 kB / 1.041 GB, free: 3.691 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001255/0.7525, allocations: 41.2 kB / 1.041 GB, free: 3.648 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/0.7536, allocations: 239.7 kB / 1.041 GB, free: 3.414 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009871/0.7546, allocations: 1.576 MB / 1.043 GB, free: 1.699 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001442/0.7561, allocations: 238.2 kB / 1.043 GB, free: 1.465 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.157e-05/0.7562, allocations: 39.98 kB / 1.043 GB, free: 1.426 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001637/0.7578, allocations: 1.014 MB / 1.044 GB, free: 420 kB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001241/0.7591, allocations: 0.7778 MB / 1.045 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001816/0.7609, allocations: 1.104 MB / 1.046 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.11e-06/0.7609, allocations: 4 kB / 1.046 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.002855/0.7638, allocations: 1.611 MB / 1.048 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.7638, allocations: 8 kB / 1.048 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.7638, allocations: 4 kB / 1.048 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.021e-05/0.7639, allocations: 36.84 kB / 1.048 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/0.765, allocations: 235.8 kB / 1.048 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000929/0.7659, allocations: 1.577 MB / 1.049 GB, free: 10.67 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001355/0.7673, allocations: 163.4 kB / 1.05 GB, free: 10.51 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.944e-05/0.7673, allocations: 39.98 kB / 1.05 GB, free: 10.47 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 (103): * Single equations (assignments): 100 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001921/0.7675, allocations: 232.8 kB / 1.05 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002311/0.7678, allocations: 213.3 kB / 1.05 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00158/0.7694, allocations: 0.7561 MB / 1.051 GB, free: 9.23 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.7694, allocations: 4 kB / 1.051 GB, free: 9.227 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/0.7694, allocations: 4 kB / 1.051 GB, free: 9.223 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.7694, allocations: 3.938 kB / 1.051 GB, free: 9.219 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003102/0.7725, allocations: 2.172 MB / 1.053 GB, free: 6.945 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.7725, allocations: 4 kB / 1.053 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006065/0.7731, allocations: 95.92 kB / 1.053 GB, free: 6.848 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.807e-05/0.7732, allocations: 37.06 kB / 1.053 GB, free: 6.809 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.159e-05/0.7733, allocations: 11.98 kB / 1.053 GB, free: 6.797 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000912/0.7742, allocations: 1.557 MB / 1.055 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.7742, allocations: 4 kB / 1.055 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001472/0.7757, allocations: 0.882 MB / 1.055 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004732/0.7761, allocations: 350.3 kB / 1.056 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000191/0.7763, allocations: 8 kB / 1.056 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009716/0.7773, allocations: 75.83 kB / 1.056 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.635e-05/0.7774, allocations: 27.91 kB / 1.056 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-05/0.7774, allocations: 23.92 kB / 1.056 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002206/0.7796, allocations: 1.635 MB / 1.057 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.7e-07/0.7797, allocations: 4 kB / 1.057 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001854/0.7815, allocations: 0.8853 MB / 1.058 GB, free: 1.125 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (33): * Single equations (assignments): 32 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.2423/1.024, allocations: 1.768 MB / 1.06 GB, free: 329.3 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.004612/1.028, allocations: 1.82 MB / 1.062 GB, free: 329 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/1.029, allocations: 1.281 kB / 1.062 GB, free: 329 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0006734/1.029, allocations: 353.3 kB / 1.062 GB, free: 328.9 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005086/1.034, allocations: 1.238 MB / 1.063 GB, free: 328.8 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02255/1.057, allocations: 14.69 MB / 1.078 GB, free: 322.2 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001089/1.058, allocations: 1.537 MB / 1.079 GB, free: 321.3 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001711/1.06, allocations: 478.9 kB / 1.08 GB, free: 321.3 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008353/1.061, allocations: 0.7966 MB / 1.08 GB, free: 320.7 MB / 0.8106 GB Notification: Performance of SimCode: time 8.62e-07/1.061, allocations: 1.188 kB / 1.08 GB, free: 320.7 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07028/1.131, allocations: 56.24 MB / 1.135 GB, free: 273.8 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/13.05, allocations: 10.41 kB / 1.135 GB, free: 273.8 MB / 0.8106 GB (rm -f IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan_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.fmu > IBPSA_latest_IBPSA.Fluid.FMI.Validation.HeaterFan.pipe 2>&1)