Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Fluid.FMI.Validation.HeaterFan,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Validation_HeaterFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan,fileNamePrefix="Buildings_8_Buildings_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.001309/0.001309, allocations: 92.23 kB / 15.36 MB, free: 0.7383 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.007794/0.007794, allocations: 169.4 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.132/1.132, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.461/1.461, allocations: 292.7 MB / 0.5502 GB, free: 14.45 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008542/0.000854, allocations: 13.84 kB / 0.6744 GB, free: 25.81 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1829/0.1838, allocations: 116.3 MB / 0.788 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 0.6235/0.8073, allocations: 306.3 MB / 1.087 GB, free: 9.406 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.03543/0.8428, allocations: 30.3 MB / 1.117 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002497/0.8453, allocations: 67.56 kB / 1.117 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.003632/0.849, allocations: 1.337 MB / 1.118 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.00684/0.8558, allocations: 2.794 MB / 1.121 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.005767/0.8616, allocations: 2.374 MB / 1.123 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.006876/0.8685, allocations: 5.982 MB / 1.129 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002282/0.8708, allocations: 1.611 MB / 1.131 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004216/0.875, allocations: 1.953 MB / 1.132 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002714/0.8778, allocations: 1.325 MB / 1.134 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001609/0.878, allocations: 71.94 kB / 1.134 GB, free: 9.445 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0062/0.8842, allocations: 3.628 MB / 1.137 GB, free: 5.809 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0005273/0.8847, allocations: 0.4943 MB / 1.138 GB, free: 5.312 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.00108/0.8858, allocations: 1 MB / 1.139 GB, free: 4.301 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.005557/0.8914, allocations: 4.665 MB / 1.143 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.8914, allocations: 0 / 1.143 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.723e-06/0.8914, allocations: 4 kB / 1.143 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.76e-05/0.8914, allocations: 0 / 1.143 GB, free: 15.62 MB / 0.8575 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.00332/0.8948, allocations: 2.092 MB / 1.145 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.8948, allocations: 16.03 kB / 1.145 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002279/0.8951, allocations: 182.2 kB / 1.146 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004841/0.8999, allocations: 0.8716 MB / 1.146 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002914/0.9028, allocations: 1.991 MB / 1.148 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006508/0.9035, allocations: 238.4 kB / 1.149 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001894/0.9037, allocations: 132 kB / 1.149 GB, free: 9.973 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003165/0.9069, allocations: 1.661 MB / 1.15 GB, free: 8.254 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.522e-05/0.9069, allocations: 3.938 kB / 1.15 GB, free: 8.25 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001262/0.907, allocations: 56 kB / 1.15 GB, free: 8.195 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.843e-05/0.9071, allocations: 54.5 kB / 1.151 GB, free: 8.141 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0035/0.9106, allocations: 1.509 MB / 1.152 GB, free: 6.625 MB / 0.8575 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.009318/0.9199, allocations: 7.39 MB / 1.159 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002305/0.9223, allocations: 0.6988 MB / 1.16 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007293/0.923, allocations: 308.4 kB / 1.16 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000319/0.9233, allocations: 190.2 kB / 1.16 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/0.9234, allocations: 42.56 kB / 1.16 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005991/0.924, allocations: 95.34 kB / 1.16 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=37): time 2.425e-06/0.924, allocations: 0 / 1.16 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of matching and sorting (n=37): time 0.002953/0.9269, allocations: 1.322 MB / 1.162 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.927, allocations: 55.41 kB / 1.162 GB, free: 11.87 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002692/0.9297, allocations: 1.866 MB / 1.164 GB, free: 9.961 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.958e-05/0.9298, allocations: 33.7 kB / 1.164 GB, free: 9.922 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006192/0.9304, allocations: 0.8152 MB / 1.164 GB, free: 9.098 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.9305, allocations: 134.1 kB / 1.165 GB, free: 8.965 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.482e-05/0.9306, allocations: 61.62 kB / 1.165 GB, free: 8.898 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.9307, allocations: 333.9 kB / 1.165 GB, free: 8.566 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001232/0.9319, allocations: 429 kB / 1.165 GB, free: 8.148 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001372/0.9333, allocations: 0.6586 MB / 1.166 GB, free: 7.375 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001994/0.9353, allocations: 0.8802 MB / 1.167 GB, free: 6.41 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.9354, allocations: 4 kB / 1.167 GB, free: 6.406 MB / 0.8731 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003144/0.9385, allocations: 1.42 MB / 1.168 GB, free: 4.934 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001579/0.9387, allocations: 276.6 kB / 1.169 GB, free: 4.574 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.9387, allocations: 7.938 kB / 1.169 GB, free: 4.566 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001893/0.9389, allocations: 61.69 kB / 1.169 GB, free: 4.5 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/0.94, allocations: 211.7 kB / 1.169 GB, free: 4.293 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001851/0.9419, allocations: 2.821 MB / 1.172 GB, free: 1.199 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001967/0.9438, allocations: 279.7 kB / 1.172 GB, free: 0.9297 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.525e-05/0.9439, allocations: 47.97 kB / 1.172 GB, free: 0.8828 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 5.991e-06/0.9439, allocations: 4 kB / 1.172 GB, free: 0.8789 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002603/0.9465, allocations: 1.151 MB / 1.173 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.9466, allocations: 4 kB / 1.173 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001143/0.9467, allocations: 65.62 kB / 1.173 GB, free: 15.61 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009612/0.9477, allocations: 208 kB / 1.173 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001718/0.9494, allocations: 2.825 MB / 1.176 GB, free: 12.31 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/0.951, allocations: 216.4 kB / 1.176 GB, free: 12.1 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-05/0.9511, allocations: 31.98 kB / 1.176 GB, free: 12.07 MB / 0.8887 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.001004/0.9521, allocations: 0.5165 MB / 1.177 GB, free: 11.54 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002376/0.9523, allocations: 165.9 kB / 1.177 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002014/0.9543, allocations: 0.9397 MB / 1.178 GB, free: 10.38 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.9544, allocations: 11.88 kB / 1.178 GB, free: 10.37 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.9544, allocations: 0 / 1.178 GB, free: 10.37 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.9544, allocations: 4 kB / 1.178 GB, free: 10.36 MB / 0.8887 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.00363/0.958, allocations: 2.174 MB / 1.18 GB, free: 8.07 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.958, allocations: 8 kB / 1.18 GB, free: 8.062 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005889/0.9586, allocations: 95.98 kB / 1.18 GB, free: 7.969 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001266/0.9588, allocations: 53.78 kB / 1.18 GB, free: 7.91 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.997e-05/0.9588, allocations: 19.92 kB / 1.18 GB, free: 7.891 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002206/0.961, allocations: 2.818 MB / 1.183 GB, free: 4.812 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.961, allocations: 3.984 kB / 1.183 GB, free: 4.809 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001819/0.9629, allocations: 0.9975 MB / 1.184 GB, free: 3.734 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005361/0.9634, allocations: 326.8 kB / 1.184 GB, free: 3.395 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001637/0.9636, allocations: 8 kB / 1.184 GB, free: 3.387 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/0.9648, allocations: 143.7 kB / 1.184 GB, free: 3.246 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.406e-05/0.9648, allocations: 23.97 kB / 1.184 GB, free: 3.223 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.622e-05/0.9649, allocations: 19.98 kB / 1.184 GB, free: 3.203 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.002299/0.9672, allocations: 1.328 MB / 1.186 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9672, allocations: 0 / 1.186 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002162/0.9694, allocations: 0.7641 MB / 1.186 GB, free: 1.086 MB / 0.8887 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.002528/0.9719, allocations: 1.756 MB / 1.188 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.003952/0.9759, allocations: 1.726 MB / 1.19 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.9759, allocations: 4 kB / 1.19 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0008814/0.9768, allocations: 0.498 MB / 1.19 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004607/0.9814, allocations: 0.9746 MB / 1.191 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0289/1.01, allocations: 13.99 MB / 1.205 GB, free: 13.11 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009324/1.011, allocations: 1.34 MB / 1.206 GB, free: 11.74 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001863/1.013, allocations: 382.9 kB / 1.207 GB, free: 11.36 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009016/1.014, allocations: 0.6555 MB / 1.207 GB, free: 10.71 MB / 0.92 GB Notification: Performance of SimCode: time 1.042e-06/1.014, allocations: 0 / 1.207 GB, free: 10.71 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1145/1.129, allocations: 47.24 MB / 1.253 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002201/1.129, allocations: 205.8 kB / 1.254 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.063/4.191, allocations: 3.938 kB / 1.254 GB, free: 11.76 MB / 0.9669 GB (rm -f Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; mkfifo Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan.pipe >> ../files/Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FMI_Validation_HeaterFan_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FMI_Validation_HeaterFan.fmu > Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan.pipe 2>&1)