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 1.559/1.559, allocations: 287.4 MB / 302.6 MB, free: 8.16 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.0009527/0.0009528, allocations: 179.3 kB / 371.1 MB, free: 10.75 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.426/1.426, allocations: 205.4 MB / 0.6298 GB, free: 10.53 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.0007792/0.0007792, allocations: 96.59 kB / 0.7431 GB, free: 6.512 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003784/0.0003786, allocations: 12.31 kB / 0.8662 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1928/0.1932, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 0.6739/0.8671, allocations: 285.6 MB / 1.258 GB, free: 14.05 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.03066/0.8978, allocations: 28.09 MB / 1.285 GB, free: 1.898 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002838/0.9008, allocations: 67.56 kB / 1.285 GB, free: 1.832 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.003088/0.9039, allocations: 0.9704 MB / 1.286 GB, free: 0.8555 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.00611/0.91, allocations: 2.19 MB / 1.288 GB, free: 14.66 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004791/0.9148, allocations: 1.746 MB / 1.29 GB, free: 12.93 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.005948/0.9207, allocations: 5.167 MB / 1.295 GB, free: 7.746 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002171/0.9229, allocations: 1.582 MB / 1.297 GB, free: 6.117 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003626/0.9266, allocations: 1.805 MB / 1.298 GB, free: 4.297 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001796/0.9284, allocations: 1.245 MB / 1.3 GB, free: 3.047 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001605/0.9286, allocations: 68 kB / 1.3 GB, free: 2.98 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004651/0.9332, allocations: 2.007 MB / 1.302 GB, free: 0.9688 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0005426/0.9338, allocations: 494.2 kB / 1.302 GB, free: 496 kB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0006107/0.9344, allocations: 464.6 kB / 1.302 GB, free: 24 kB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.00381/0.9382, allocations: 3.406 MB / 1.306 GB, free: 12.61 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.9382, allocations: 0 / 1.306 GB, free: 12.61 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.374e-06/0.9382, allocations: 0 / 1.306 GB, free: 12.61 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.32e-05/0.9383, allocations: 0 / 1.306 GB, free: 12.61 MB / 0.8386 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.00343/0.9417, allocations: 2.1 MB / 1.308 GB, free: 10.45 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.9418, allocations: 8.031 kB / 1.308 GB, free: 10.44 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002143/0.942, allocations: 194.2 kB / 1.308 GB, free: 10.24 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00453/0.9466, allocations: 0.8677 MB / 1.309 GB, free: 9.367 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003367/0.9499, allocations: 1.987 MB / 1.311 GB, free: 7.324 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006045/0.9506, allocations: 242.4 kB / 1.311 GB, free: 7.086 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001926/0.9508, allocations: 132 kB / 1.311 GB, free: 6.957 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00322/0.954, allocations: 1.649 MB / 1.313 GB, free: 5.25 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.553e-05/0.954, allocations: 0 / 1.313 GB, free: 5.25 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001149/0.9542, allocations: 52 kB / 1.313 GB, free: 5.199 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.372e-05/0.9542, allocations: 50.52 kB / 1.313 GB, free: 5.148 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003416/0.9576, allocations: 1.505 MB / 1.314 GB, free: 3.637 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 preOpt removeSimpleEquations (simulation): time 0.00945/0.9671, allocations: 7.391 MB / 1.322 GB, free: 11.74 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00214/0.9692, allocations: 0.6937 MB / 1.322 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006887/0.9699, allocations: 304.5 kB / 1.323 GB, free: 10.74 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000258/0.9702, allocations: 194.7 kB / 1.323 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.9703, allocations: 42.5 kB / 1.323 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005552/0.9708, allocations: 90.86 kB / 1.323 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=37): time 3.436e-06/0.9708, allocations: 0 / 1.323 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of matching and sorting (n=37): time 0.002797/0.9736, allocations: 1.325 MB / 1.324 GB, free: 8.961 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.9737, allocations: 55.41 kB / 1.324 GB, free: 8.895 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002581/0.9763, allocations: 1.847 MB / 1.326 GB, free: 7.004 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.401e-05/0.9763, allocations: 37.7 kB / 1.326 GB, free: 6.961 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005984/0.9769, allocations: 0.8152 MB / 1.327 GB, free: 6.137 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.539e-05/0.977, allocations: 134.1 kB / 1.327 GB, free: 6.004 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.886e-05/0.9771, allocations: 12 kB / 1.327 GB, free: 5.992 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.64e-05/0.9772, allocations: 329.9 kB / 1.327 GB, free: 5.664 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001145/0.9783, allocations: 413.1 kB / 1.328 GB, free: 5.262 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001266/0.9796, allocations: 0.6547 MB / 1.328 GB, free: 4.492 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001848/0.9815, allocations: 0.8646 MB / 1.329 GB, free: 3.543 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.9815, allocations: 4.094 kB / 1.329 GB, free: 3.539 MB / 0.8542 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002983/0.9845, allocations: 1.397 MB / 1.331 GB, free: 2.09 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001938/0.9847, allocations: 276.6 kB / 1.331 GB, free: 1.73 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.9847, allocations: 8 kB / 1.331 GB, free: 1.723 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002179/0.9849, allocations: 57.69 kB / 1.331 GB, free: 1.66 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/0.986, allocations: 219.7 kB / 1.331 GB, free: 1.445 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001883/0.9879, allocations: 2.829 MB / 1.334 GB, free: 14.35 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00196/0.9899, allocations: 281.8 kB / 1.334 GB, free: 14.08 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.96e-05/0.9899, allocations: 31.98 kB / 1.334 GB, free: 14.05 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.973e-06/0.99, allocations: 8 kB / 1.334 GB, free: 14.04 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002371/0.9923, allocations: 1.151 MB / 1.335 GB, free: 12.84 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.9924, allocations: 4 kB / 1.335 GB, free: 12.84 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001082/0.9925, allocations: 61.69 kB / 1.335 GB, free: 12.77 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008866/0.9934, allocations: 204 kB / 1.336 GB, free: 12.57 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001671/0.9951, allocations: 2.825 MB / 1.338 GB, free: 9.48 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001575/0.9966, allocations: 216.3 kB / 1.338 GB, free: 9.27 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.176e-05/0.9967, allocations: 31.98 kB / 1.339 GB, free: 9.238 MB / 0.8698 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.0009617/0.9977, allocations: 0.5204 MB / 1.339 GB, free: 8.707 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002137/0.9979, allocations: 165.9 kB / 1.339 GB, free: 8.543 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001887/0.9998, allocations: 0.9366 MB / 1.34 GB, free: 7.543 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.9998, allocations: 7.938 kB / 1.34 GB, free: 7.535 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.9998, allocations: 4 kB / 1.34 GB, free: 7.531 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.9998, allocations: 3.984 kB / 1.34 GB, free: 7.527 MB / 0.8698 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.00399/1.004, allocations: 2.185 MB / 1.342 GB, free: 5.223 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/1.004, allocations: 4 kB / 1.342 GB, free: 5.219 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000593/1.004, allocations: 96.05 kB / 1.342 GB, free: 5.125 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001571/1.005, allocations: 53.62 kB / 1.342 GB, free: 5.066 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.948e-05/1.005, allocations: 12.03 kB / 1.342 GB, free: 5.055 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002165/1.007, allocations: 2.821 MB / 1.345 GB, free: 1.969 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.007, allocations: 4.219 kB / 1.345 GB, free: 1.965 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001694/1.009, allocations: 0.9857 MB / 1.346 GB, free: 0.9023 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005197/1.009, allocations: 334.8 kB / 1.346 GB, free: 0.5547 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001648/1.009, allocations: 11.98 kB / 1.346 GB, free: 0.543 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001109/1.01, allocations: 143.7 kB / 1.347 GB, free: 412 kB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.084e-05/1.01, allocations: 31.84 kB / 1.347 GB, free: 380 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-05/1.01, allocations: 19.98 kB / 1.347 GB, free: 360 kB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001971/1.012, allocations: 1.313 MB / 1.348 GB, free: 15.01 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/1.012, allocations: 0 / 1.348 GB, free: 15.01 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002083/1.015, allocations: 0.7602 MB / 1.349 GB, free: 14.25 MB / 0.8855 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.002248/1.017, allocations: 1.745 MB / 1.35 GB, free: 12.42 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003507/1.02, allocations: 1.719 MB / 1.352 GB, free: 10.65 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/1.02, allocations: 0 / 1.352 GB, free: 10.65 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007923/1.021, allocations: 0.4974 MB / 1.353 GB, free: 10.13 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003981/1.025, allocations: 0.9605 MB / 1.353 GB, free: 9.176 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02215/1.047, allocations: 10.6 MB / 1.364 GB, free: 13.88 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008945/1.048, allocations: 1.34 MB / 1.365 GB, free: 12.51 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.002006/1.05, allocations: 382.9 kB / 1.366 GB, free: 12.13 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008886/1.051, allocations: 0.6477 MB / 1.366 GB, free: 11.48 MB / 0.9011 GB Notification: Performance of SimCode: time 4.41e-07/1.051, allocations: 0 / 1.366 GB, free: 11.48 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4032/1.454, allocations: 49.82 MB / 1.415 GB, free: 10.07 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001653/1.455, allocations: 192.5 kB / 1.415 GB, free: 9.832 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.012/4.466, allocations: 2 kB / 1.415 GB, free: 9.832 MB / 0.948 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)