Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.HeaterFan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FMI_Validation_HeaterFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.417/1.417, allocations: 252 MB / 267.3 MB, free: 10.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001193/0.001193, allocations: 186.7 kB / 327 MB, free: 2.059 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.896/1.896, allocations: 205.4 MB / 0.578 GB, free: 20.09 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007843/0.0007843, allocations: 90.41 kB / 0.6826 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003615/0.0003617, allocations: 9.688 kB / 0.7971 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2356, allocations: 106.3 MB / 0.9009 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 0.8585/1.094, allocations: 306.8 MB / 1.201 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0469/1.141, allocations: 30.42 MB / 1.23 GB, free: 0.6094 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004399/1.146, allocations: 67.56 kB / 1.23 GB, free: 0.543 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.005489/1.151, allocations: 1.341 MB / 1.232 GB, free: 15.19 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.01123/1.162, allocations: 2.936 MB / 1.234 GB, free: 12.25 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.008172/1.171, allocations: 2.353 MB / 1.237 GB, free: 9.898 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.008447/1.179, allocations: 5.978 MB / 1.243 GB, free: 3.91 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00305/1.182, allocations: 1.607 MB / 1.244 GB, free: 2.258 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004619/1.187, allocations: 1.848 MB / 1.246 GB, free: 412 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004235/1.191, allocations: 1.374 MB / 1.247 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0005608/1.192, allocations: 72 kB / 1.247 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009776/1.201, allocations: 3.62 MB / 1.251 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.001098/1.203, allocations: 0.4902 MB / 1.251 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.001912/1.204, allocations: 0.9966 MB / 1.252 GB, free: 9.828 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.008686/1.213, allocations: 4.646 MB / 1.257 GB, free: 5.168 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/1.213, allocations: 0 / 1.257 GB, free: 5.168 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.144e-06/1.213, allocations: 4 kB / 1.257 GB, free: 5.164 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.568e-05/1.213, allocations: 0 / 1.257 GB, free: 5.164 MB / 0.7761 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.004276/1.218, allocations: 2.097 MB / 1.259 GB, free: 3.004 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001024/1.218, allocations: 12.03 kB / 1.259 GB, free: 2.992 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003391/1.218, allocations: 194.2 kB / 1.259 GB, free: 2.793 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004882/1.223, allocations: 0.8287 MB / 1.26 GB, free: 1.961 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003795/1.227, allocations: 1.979 MB / 1.262 GB, free: 15.93 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006609/1.227, allocations: 246.4 kB / 1.262 GB, free: 15.68 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002415/1.228, allocations: 132 kB / 1.262 GB, free: 15.55 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003772/1.231, allocations: 1.661 MB / 1.264 GB, free: 13.84 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.672e-05/1.232, allocations: 4 kB / 1.264 GB, free: 13.83 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001388/1.232, allocations: 59.97 kB / 1.264 GB, free: 13.77 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.892e-05/1.232, allocations: 50.52 kB / 1.264 GB, free: 13.72 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003838/1.236, allocations: 1.513 MB / 1.265 GB, free: 12.2 MB / 0.7917 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.01086/1.246, allocations: 7.386 MB / 1.273 GB, free: 4.309 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002415/1.249, allocations: 0.6943 MB / 1.273 GB, free: 3.605 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007925/1.25, allocations: 297.3 kB / 1.274 GB, free: 3.312 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003154/1.25, allocations: 198.5 kB / 1.274 GB, free: 3.082 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/1.25, allocations: 34.56 kB / 1.274 GB, free: 3.039 MB / 0.7917 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008485/1.251, allocations: 90.88 kB / 1.274 GB, free: 2.949 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=37): time 2.996e-06/1.251, allocations: 0 / 1.274 GB, free: 2.949 MB / 0.7917 GB Notification: Performance of matching and sorting (n=37): time 0.003162/1.254, allocations: 1.313 MB / 1.275 GB, free: 1.547 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/1.254, allocations: 67.09 kB / 1.275 GB, free: 1.469 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00294/1.257, allocations: 1.862 MB / 1.277 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.289e-05/1.257, allocations: 37.7 kB / 1.277 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006956/1.258, allocations: 0.8153 MB / 1.278 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/1.258, allocations: 134 kB / 1.278 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.865e-05/1.258, allocations: 8 kB / 1.278 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001242/1.258, allocations: 337.9 kB / 1.278 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001267/1.26, allocations: 429 kB / 1.279 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001426/1.261, allocations: 0.6637 MB / 1.279 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002113/1.263, allocations: 0.8919 MB / 1.28 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/1.263, allocations: 0 / 1.28 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003449/1.267, allocations: 1.416 MB / 1.282 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001744/1.267, allocations: 280.4 kB / 1.282 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/1.267, allocations: 8 kB / 1.282 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002179/1.267, allocations: 53.69 kB / 1.282 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/1.268, allocations: 223.7 kB / 1.282 GB, free: 9.93 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002148/1.27, allocations: 2.821 MB / 1.285 GB, free: 6.844 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002241/1.273, allocations: 276.3 kB / 1.285 GB, free: 6.574 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.567e-05/1.273, allocations: 35.98 kB / 1.285 GB, free: 6.539 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 6.673e-06/1.273, allocations: 0 / 1.285 GB, free: 6.539 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002788/1.275, allocations: 1.159 MB / 1.286 GB, free: 5.336 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/1.276, allocations: 8 kB / 1.286 GB, free: 5.328 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000139/1.276, allocations: 61.62 kB / 1.287 GB, free: 5.262 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/1.277, allocations: 200 kB / 1.287 GB, free: 5.066 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002038/1.279, allocations: 2.825 MB / 1.289 GB, free: 1.973 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001969/1.281, allocations: 212.4 kB / 1.29 GB, free: 1.766 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.516e-05/1.281, allocations: 31.98 kB / 1.29 GB, free: 1.734 MB / 0.8073 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00115/1.282, allocations: 0.5242 MB / 1.29 GB, free: 1.199 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000277/1.282, allocations: 161.9 kB / 1.29 GB, free: 1.039 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002019/1.284, allocations: 0.9354 MB / 1.291 GB, free: 44 kB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/1.284, allocations: 8 kB / 1.291 GB, free: 36 kB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/1.284, allocations: 8 kB / 1.291 GB, free: 28 kB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/1.284, allocations: 7.922 kB / 1.291 GB, free: 20 kB / 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 postOpt removeSimpleEquations (simulation): time 0.003786/1.288, allocations: 2.17 MB / 1.293 GB, free: 13.73 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/1.288, allocations: 0 / 1.293 GB, free: 13.73 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006439/1.289, allocations: 99.98 kB / 1.294 GB, free: 13.63 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001382/1.289, allocations: 53.72 kB / 1.294 GB, free: 13.57 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.301e-05/1.289, allocations: 15.98 kB / 1.294 GB, free: 13.56 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002187/1.291, allocations: 2.821 MB / 1.296 GB, free: 10.47 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/1.291, allocations: 3.938 kB / 1.296 GB, free: 10.47 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002025/1.293, allocations: 0.9935 MB / 1.297 GB, free: 9.398 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006872/1.294, allocations: 330.8 kB / 1.298 GB, free: 9.055 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001632/1.294, allocations: 7.938 kB / 1.298 GB, free: 9.047 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001237/1.295, allocations: 143.8 kB / 1.298 GB, free: 8.906 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.13e-05/1.295, allocations: 27.91 kB / 1.298 GB, free: 8.879 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.369e-05/1.295, allocations: 19.98 kB / 1.298 GB, free: 8.859 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.002434/1.298, allocations: 1.328 MB / 1.299 GB, free: 7.508 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.6e-07/1.298, allocations: 7.938 kB / 1.299 GB, free: 7.5 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002497/1.3, allocations: 0.7524 MB / 1.3 GB, free: 6.746 MB / 0.823 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (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.002614/1.303, allocations: 1.732 MB / 1.302 GB, free: 4.926 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.004197/1.307, allocations: 1.739 MB / 1.303 GB, free: 3.137 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/1.307, allocations: 0 / 1.303 GB, free: 3.137 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008897/1.308, allocations: 0.4946 MB / 1.304 GB, free: 2.617 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005085/1.313, allocations: 0.9712 MB / 1.305 GB, free: 1.656 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03145/1.345, allocations: 14 MB / 1.318 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001013/1.346, allocations: 1.34 MB / 1.32 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.002218/1.348, allocations: 382.8 kB / 1.32 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001028/1.349, allocations: 0.6594 MB / 1.321 GB, free: 388 kB / 0.8386 GB Notification: Performance of SimCode: time 1.042e-06/1.349, allocations: 0 / 1.321 GB, free: 388 kB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07558/1.425, allocations: 47.01 MB / 1.367 GB, free: 1.762 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001659/1.425, allocations: 216.6 kB / 1.367 GB, free: 1.508 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.579/5.004, allocations: 0 / 1.367 GB, free: 1.508 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.HeaterFan.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.HeaterFan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FMI_Validation_HeaterFan_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FMI_Validation_HeaterFan.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.HeaterFan.pipe 2>&1)