Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FMI.Validation.HeaterFan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FMI_Validation_HeaterFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FMI_Validation_HeaterFan",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.733/1.733, allocations: 288.2 MB / 303.2 MB, free: 8.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001102/0.001102, allocations: 189.7 kB / 371.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.773/1.773, allocations: 205.4 MB / 0.6305 GB, free: 10.04 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008191/0.000819, allocations: 94.86 kB / 0.7439 GB, free: 5.965 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000396/0.0003962, allocations: 11.25 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.2432, allocations: 115.3 MB / 0.9795 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 0.8602/1.104, allocations: 253.2 MB / 1.227 GB, free: 11.07 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.03906/1.143, allocations: 26.52 MB / 1.253 GB, free: 0.5078 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003658/1.146, allocations: 59.62 kB / 1.253 GB, free: 460 kB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.004673/1.151, allocations: 1.054 MB / 1.254 GB, free: 15.39 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.01232/1.163, allocations: 2.904 MB / 1.257 GB, free: 12.48 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.012/1.175, allocations: 2.857 MB / 1.259 GB, free: 9.645 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.007684/1.183, allocations: 2.832 MB / 1.262 GB, free: 6.812 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002981/1.186, allocations: 1.408 MB / 1.264 GB, free: 5.371 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004331/1.191, allocations: 1.596 MB / 1.265 GB, free: 3.77 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001948/1.192, allocations: 0.8594 MB / 1.266 GB, free: 2.906 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.000277/1.193, allocations: 68 kB / 1.266 GB, free: 2.84 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005042/1.198, allocations: 1.669 MB / 1.268 GB, free: 1.168 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0006074/1.198, allocations: 446.5 kB / 1.268 GB, free: 0.7305 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0008303/1.199, allocations: 464.6 kB / 1.268 GB, free: 276 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.005344/1.205, allocations: 3.222 MB / 1.272 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/1.205, allocations: 0 / 1.272 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of FrontEnd: time 3.817e-06/1.205, allocations: 4 kB / 1.272 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0001312/1.205, allocations: 0 / 1.272 GB, free: 13.04 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.005197/1.21, allocations: 2.065 MB / 1.274 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.645e-05/1.21, allocations: 12.02 kB / 1.274 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004131/1.211, allocations: 194.2 kB / 1.274 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005185/1.216, allocations: 0.8638 MB / 1.275 GB, free: 9.828 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004424/1.22, allocations: 1.918 MB / 1.277 GB, free: 7.855 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000684/1.221, allocations: 242.4 kB / 1.277 GB, free: 7.617 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000264/1.221, allocations: 136 kB / 1.277 GB, free: 7.484 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003841/1.225, allocations: 1.653 MB / 1.279 GB, free: 5.773 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.927e-05/1.225, allocations: 0 / 1.279 GB, free: 5.773 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001527/1.225, allocations: 52 kB / 1.279 GB, free: 5.723 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.35e-05/1.225, allocations: 46.52 kB / 1.279 GB, free: 5.676 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003923/1.229, allocations: 1.505 MB / 1.28 GB, free: 4.164 MB / 0.8073 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.01183/1.241, allocations: 7.399 MB / 1.287 GB, free: 12.26 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002813/1.244, allocations: 0.7233 MB / 1.288 GB, free: 11.53 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.57e-05/1.244, allocations: 12.62 kB / 1.288 GB, free: 11.52 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/1.244, allocations: 42.5 kB / 1.288 GB, free: 11.47 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000916/1.245, allocations: 90.8 kB / 1.288 GB, free: 11.38 MB / 0.823 GB Notification: Performance of pre-optimization done (n=37): time 5.701e-06/1.245, allocations: 4 kB / 1.288 GB, free: 11.38 MB / 0.823 GB Notification: Performance of matching and sorting (n=37): time 0.003294/1.248, allocations: 1.329 MB / 1.289 GB, free: 9.957 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/1.248, allocations: 55.41 kB / 1.29 GB, free: 9.891 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003063/1.252, allocations: 1.847 MB / 1.291 GB, free: 8 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.687e-05/1.252, allocations: 37.7 kB / 1.291 GB, free: 7.957 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007575/1.252, allocations: 0.8235 MB / 1.292 GB, free: 7.125 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001276/1.253, allocations: 130.2 kB / 1.292 GB, free: 6.996 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.485e-05/1.253, allocations: 12 kB / 1.292 GB, free: 6.984 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001438/1.253, allocations: 326 kB / 1.293 GB, free: 6.66 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001245/1.254, allocations: 417 kB / 1.293 GB, free: 6.254 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00154/1.256, allocations: 0.6547 MB / 1.294 GB, free: 5.488 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001367/1.257, allocations: 461.3 kB / 1.294 GB, free: 5.039 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/1.257, allocations: 0 / 1.294 GB, free: 5.039 MB / 0.823 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003613/1.261, allocations: 1.401 MB / 1.295 GB, free: 3.586 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001539/1.262, allocations: 2.552 MB / 1.298 GB, free: 0.8477 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/1.262, allocations: 8 kB / 1.298 GB, free: 0.8398 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002779/1.262, allocations: 61.69 kB / 1.298 GB, free: 0.7734 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/1.264, allocations: 223.6 kB / 1.298 GB, free: 0.5547 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002442/1.266, allocations: 2.813 MB / 1.301 GB, free: 13.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002546/1.269, allocations: 280.3 kB / 1.301 GB, free: 13.2 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.824e-05/1.269, allocations: 40.11 kB / 1.301 GB, free: 13.16 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/1.269, allocations: 4 kB / 1.301 GB, free: 13.16 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002746/1.272, allocations: 1.155 MB / 1.302 GB, free: 11.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/1.272, allocations: 12.28 kB / 1.302 GB, free: 11.95 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001447/1.272, allocations: 69.61 kB / 1.302 GB, free: 11.88 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000972/1.273, allocations: 199.7 kB / 1.303 GB, free: 11.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002158/1.275, allocations: 2.825 MB / 1.305 GB, free: 8.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002098/1.277, allocations: 204.4 kB / 1.306 GB, free: 8.391 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.917e-05/1.277, allocations: 31.98 kB / 1.306 GB, free: 8.359 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (69): * Single equations (assignments): 66 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001335/1.278, allocations: 0.5203 MB / 1.306 GB, free: 7.828 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003608/1.279, allocations: 173.8 kB / 1.306 GB, free: 7.656 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002155/1.281, allocations: 0.9406 MB / 1.307 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/1.281, allocations: 4 kB / 1.307 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/1.281, allocations: 0 / 1.307 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/1.281, allocations: 0 / 1.307 GB, free: 6.652 MB / 0.8386 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.00428/1.285, allocations: 2.251 MB / 1.309 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/1.285, allocations: 0 / 1.309 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006178/1.286, allocations: 99.98 kB / 1.31 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001395/1.286, allocations: 53.64 kB / 1.31 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.926e-05/1.286, allocations: 15.98 kB / 1.31 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00204/1.288, allocations: 2.829 MB / 1.312 GB, free: 1 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/1.288, allocations: 11.88 kB / 1.312 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002035/1.29, allocations: 1.051 MB / 1.313 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007253/1.291, allocations: 330.8 kB / 1.314 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001881/1.291, allocations: 15.95 kB / 1.314 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0012/1.292, allocations: 139.8 kB / 1.314 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.685e-05/1.292, allocations: 23.91 kB / 1.314 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.678e-05/1.293, allocations: 19.98 kB / 1.314 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.002459/1.295, allocations: 1.313 MB / 1.315 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.214e-06/1.295, allocations: 0 / 1.315 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002381/1.297, allocations: 0.764 MB / 1.316 GB, free: 13.18 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00281/1.3, allocations: 2.05 MB / 1.318 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.003972/1.304, allocations: 1.734 MB / 1.32 GB, free: 9.25 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/1.304, allocations: 5.125 kB / 1.32 GB, free: 9.246 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0008988/1.305, allocations: 0.5051 MB / 1.32 GB, free: 8.715 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004639/1.31, allocations: 0.9585 MB / 1.321 GB, free: 7.766 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008809/1.319, allocations: 8.598 MB / 1.329 GB, free: 14.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001032/1.32, allocations: 1.383 MB / 1.331 GB, free: 13.39 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002107/1.322, allocations: 367 kB / 1.331 GB, free: 13.02 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009405/1.323, allocations: 0.6555 MB / 1.332 GB, free: 12.37 MB / 0.8698 GB Notification: Performance of SimCode: time 9.81e-07/1.323, allocations: 0 / 1.332 GB, free: 12.37 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08813/1.411, allocations: 48.02 MB / 1.379 GB, free: 12.73 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001866/1.411, allocations: 196.2 kB / 1.379 GB, free: 12.49 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.464/4.875, allocations: 4.062 kB / 1.379 GB, free: 12.48 MB / 0.9167 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FMI.Validation.HeaterFan.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FMI.Validation.HeaterFan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_FMI_Validation_HeaterFan_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_FMI_Validation_HeaterFan.fmu > Buildings_maint.8.0.x_Buildings.Fluid.FMI.Validation.HeaterFan.pipe 2>&1)