Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FMI.Validation.HeaterFan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FMI_Validation_HeaterFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.932/2.932, allocations: 287.3 MB / 302.3 MB, free: 8.359 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.001656/0.001656, allocations: 185.1 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.28/2.28, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001212/0.001212, allocations: 98.06 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004955/0.0004957, allocations: 11.66 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2219, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 1.138/1.36, allocations: 253.2 MB / 1.226 GB, free: 12.14 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.05687/1.417, allocations: 26.51 MB / 1.251 GB, free: 1.582 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003428/1.421, allocations: 63.56 kB / 1.252 GB, free: 1.52 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.005732/1.426, allocations: 1.046 MB / 1.253 GB, free: 480 kB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.01361/1.44, allocations: 2.901 MB / 1.255 GB, free: 13.56 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.01338/1.453, allocations: 2.866 MB / 1.258 GB, free: 10.72 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.009045/1.462, allocations: 2.827 MB / 1.261 GB, free: 7.895 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003761/1.466, allocations: 1.413 MB / 1.262 GB, free: 6.449 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006528/1.473, allocations: 1.589 MB / 1.264 GB, free: 4.855 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002796/1.476, allocations: 0.8672 MB / 1.265 GB, free: 3.984 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0006032/1.476, allocations: 64 kB / 1.265 GB, free: 3.922 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006756/1.483, allocations: 1.677 MB / 1.266 GB, free: 2.242 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.001177/1.484, allocations: 450.4 kB / 1.267 GB, free: 1.801 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.001108/1.486, allocations: 460.7 kB / 1.267 GB, free: 1.344 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.007408/1.493, allocations: 3.222 MB / 1.27 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/1.493, allocations: 0 / 1.27 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.027e-06/1.493, allocations: 0 / 1.27 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.000111/1.493, allocations: 0 / 1.27 GB, free: 14.11 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.006519/1.5, allocations: 2.065 MB / 1.272 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.439e-05/1.5, allocations: 12.02 kB / 1.272 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007079/1.501, allocations: 194.2 kB / 1.273 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009/1.51, allocations: 0.8716 MB / 1.274 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006404/1.516, allocations: 1.922 MB / 1.275 GB, free: 8.922 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001314/1.517, allocations: 230.5 kB / 1.276 GB, free: 8.695 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005531/1.518, allocations: 128 kB / 1.276 GB, free: 8.57 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006592/1.525, allocations: 1.649 MB / 1.277 GB, free: 6.863 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.486e-05/1.525, allocations: 7.984 kB / 1.277 GB, free: 6.855 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002299/1.525, allocations: 51.94 kB / 1.277 GB, free: 6.805 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.792e-05/1.525, allocations: 54.45 kB / 1.277 GB, free: 6.75 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007764/1.533, allocations: 1.509 MB / 1.279 GB, free: 5.234 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.01991/1.553, allocations: 7.391 MB / 1.286 GB, free: 13.34 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005337/1.558, allocations: 0.7308 MB / 1.287 GB, free: 12.6 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001261/1.558, allocations: 13.16 kB / 1.287 GB, free: 12.59 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.385e-05/1.558, allocations: 34.56 kB / 1.287 GB, free: 12.55 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001077/1.559, allocations: 94.8 kB / 1.287 GB, free: 12.45 MB / 0.823 GB Notification: Performance of pre-optimization done (n=37): time 5.52e-06/1.56, allocations: 0 / 1.287 GB, free: 12.45 MB / 0.823 GB Notification: Performance of matching and sorting (n=37): time 0.006012/1.566, allocations: 1.326 MB / 1.288 GB, free: 11.04 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.24e-05/1.566, allocations: 55.41 kB / 1.288 GB, free: 10.97 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005609/1.571, allocations: 1.847 MB / 1.29 GB, free: 9.082 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001933/1.572, allocations: 37.7 kB / 1.29 GB, free: 9.039 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001226/1.573, allocations: 0.8191 MB / 1.291 GB, free: 8.211 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002547/1.573, allocations: 126.2 kB / 1.291 GB, free: 8.086 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/1.573, allocations: 12 kB / 1.291 GB, free: 8.074 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001849/1.573, allocations: 334 kB / 1.291 GB, free: 7.742 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002458/1.576, allocations: 413.1 kB / 1.292 GB, free: 7.34 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002849/1.579, allocations: 0.6544 MB / 1.292 GB, free: 6.57 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00254/1.581, allocations: 457.5 kB / 1.293 GB, free: 6.125 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.719e-05/1.581, allocations: 4 kB / 1.293 GB, free: 6.121 MB / 0.823 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.006644/1.588, allocations: 1.401 MB / 1.294 GB, free: 4.668 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001433/1.59, allocations: 2.554 MB / 1.297 GB, free: 1.926 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-05/1.59, allocations: 8 kB / 1.297 GB, free: 1.918 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004267/1.59, allocations: 69.62 kB / 1.297 GB, free: 1.844 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002258/1.592, allocations: 215.7 kB / 1.297 GB, free: 1.633 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003314/1.596, allocations: 2.833 MB / 1.3 GB, free: 14.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003904/1.6, allocations: 280.3 kB / 1.3 GB, free: 14.26 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002497/1.6, allocations: 39.97 kB / 1.3 GB, free: 14.22 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/1.6, allocations: 4 kB / 1.3 GB, free: 14.22 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005152/1.605, allocations: 1.152 MB / 1.301 GB, free: 13.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.921e-05/1.605, allocations: 4 kB / 1.301 GB, free: 13.02 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002366/1.605, allocations: 65.91 kB / 1.301 GB, free: 12.95 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001969/1.607, allocations: 199.7 kB / 1.301 GB, free: 12.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003071/1.611, allocations: 2.817 MB / 1.304 GB, free: 9.672 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003073/1.614, allocations: 212.6 kB / 1.304 GB, free: 9.465 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000203/1.614, allocations: 31.98 kB / 1.304 GB, free: 9.434 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.001489/1.615, allocations: 0.5205 MB / 1.305 GB, free: 8.902 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005321/1.616, allocations: 169.8 kB / 1.305 GB, free: 8.734 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003769/1.62, allocations: 0.936 MB / 1.306 GB, free: 7.742 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/1.62, allocations: 4 kB / 1.306 GB, free: 7.738 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/1.62, allocations: 0 / 1.306 GB, free: 7.738 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.297e-05/1.62, allocations: 3.984 kB / 1.306 GB, free: 7.734 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.007099/1.627, allocations: 2.247 MB / 1.308 GB, free: 5.355 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-05/1.627, allocations: 4 kB / 1.308 GB, free: 5.352 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001186/1.628, allocations: 99.81 kB / 1.308 GB, free: 5.254 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002252/1.629, allocations: 53.78 kB / 1.308 GB, free: 5.195 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.358e-05/1.629, allocations: 8 kB / 1.308 GB, free: 5.188 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003159/1.632, allocations: 2.833 MB / 1.311 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/1.632, allocations: 0 / 1.311 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003557/1.635, allocations: 1.055 MB / 1.312 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001073/1.637, allocations: 334.8 kB / 1.313 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003419/1.637, allocations: 8 kB / 1.313 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002332/1.639, allocations: 143.8 kB / 1.313 GB, free: 428 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/1.639, allocations: 27.84 kB / 1.313 GB, free: 400 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.243e-05/1.639, allocations: 23.97 kB / 1.313 GB, free: 376 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.004204/1.644, allocations: 1.305 MB / 1.314 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.41e-07/1.644, allocations: 3.938 kB / 1.314 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003943/1.648, allocations: 0.768 MB / 1.315 GB, free: 14.27 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.004934/1.653, allocations: 2.058 MB / 1.317 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.007826/1.661, allocations: 1.726 MB / 1.318 GB, free: 10.33 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.899e-06/1.661, allocations: 0 / 1.318 GB, free: 10.33 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001803/1.662, allocations: 0.5061 MB / 1.319 GB, free: 9.801 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008644/1.671, allocations: 0.9639 MB / 1.32 GB, free: 8.848 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01361/1.685, allocations: 8.61 MB / 1.328 GB, free: 15.87 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001625/1.687, allocations: 1.375 MB / 1.33 GB, free: 14.46 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.00338/1.69, allocations: 370.9 kB / 1.33 GB, free: 14.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001739/1.692, allocations: 0.6516 MB / 1.331 GB, free: 13.45 MB / 0.8698 GB Notification: Performance of SimCode: time 1.893e-06/1.692, allocations: 0 / 1.331 GB, free: 13.45 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.141/1.833, allocations: 48 MB / 1.378 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003573/1.833, allocations: 188.7 kB / 1.378 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.334/6.168, allocations: 3.938 kB / 1.378 GB, free: 13.59 MB / 0.9167 GB (rm -f Buildings_8.0.0_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FMI.Validation.HeaterFan.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FMI.Validation.HeaterFan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_FMI_Validation_HeaterFan_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_FMI_Validation_HeaterFan.fmu > Buildings_8.0.0_Buildings.Fluid.FMI.Validation.HeaterFan.pipe 2>&1)