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.681/2.681, allocations: 287.5 MB / 302.4 MB, free: 8.363 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.001405/0.001405, allocations: 174.5 kB / 371 MB, free: 10.86 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.195/2.195, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.0008692/0.0008689, allocations: 89.03 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006597/0.0006603, allocations: 12.44 kB / 0.8659 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2368, allocations: 115.3 MB / 0.9784 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 1.165/1.402, allocations: 285.6 MB / 1.257 GB, free: 14.16 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0574/1.459, allocations: 28.11 MB / 1.285 GB, free: 1.996 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003299/1.463, allocations: 63.62 kB / 1.285 GB, free: 1.934 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.005219/1.468, allocations: 0.9703 MB / 1.286 GB, free: 0.957 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.00947/1.477, allocations: 2.187 MB / 1.288 GB, free: 14.76 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.008042/1.485, allocations: 1.734 MB / 1.29 GB, free: 13.04 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.01027/1.496, allocations: 5.113 MB / 1.295 GB, free: 7.918 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003753/1.5, allocations: 1.378 MB / 1.296 GB, free: 6.508 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006302/1.506, allocations: 1.794 MB / 1.298 GB, free: 4.707 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003644/1.51, allocations: 1.252 MB / 1.299 GB, free: 3.449 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0005425/1.51, allocations: 72 kB / 1.299 GB, free: 3.379 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007948/1.518, allocations: 2.007 MB / 1.301 GB, free: 1.367 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.001235/1.519, allocations: 486.2 kB / 1.301 GB, free: 0.8906 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.001032/1.52, allocations: 460.7 kB / 1.302 GB, free: 444 kB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.007391/1.528, allocations: 3.406 MB / 1.305 GB, free: 13.02 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/1.528, allocations: 7.938 kB / 1.305 GB, free: 13.01 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.725e-06/1.528, allocations: 0 / 1.305 GB, free: 13.01 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.838e-05/1.528, allocations: 4 kB / 1.305 GB, free: 13.01 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.006163/1.534, allocations: 2.123 MB / 1.307 GB, free: 10.82 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/1.534, allocations: 12.02 kB / 1.307 GB, free: 10.81 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005716/1.535, allocations: 194.2 kB / 1.308 GB, free: 10.61 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008623/1.544, allocations: 0.8521 MB / 1.308 GB, free: 9.754 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006032/1.55, allocations: 1.945 MB / 1.31 GB, free: 7.754 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001303/1.551, allocations: 230.5 kB / 1.31 GB, free: 7.527 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004799/1.551, allocations: 135.9 kB / 1.311 GB, free: 7.395 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005902/1.557, allocations: 1.657 MB / 1.312 GB, free: 5.68 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.329e-05/1.557, allocations: 0 / 1.312 GB, free: 5.68 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002212/1.558, allocations: 59.98 kB / 1.312 GB, free: 5.621 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.894e-05/1.558, allocations: 50.52 kB / 1.312 GB, free: 5.57 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006921/1.565, allocations: 1.497 MB / 1.314 GB, free: 4.066 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.0178/1.583, allocations: 7.391 MB / 1.321 GB, free: 12.17 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0042/1.587, allocations: 0.6876 MB / 1.322 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00135/1.588, allocations: 305 kB / 1.322 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004206/1.589, allocations: 194.2 kB / 1.322 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.126e-05/1.589, allocations: 30.56 kB / 1.322 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001014/1.59, allocations: 90.95 kB / 1.322 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=37): time 2.926e-06/1.59, allocations: 0 / 1.322 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of matching and sorting (n=37): time 0.00566/1.595, allocations: 1.329 MB / 1.324 GB, free: 9.402 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/1.596, allocations: 59.34 kB / 1.324 GB, free: 9.332 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005154/1.601, allocations: 1.843 MB / 1.325 GB, free: 7.445 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001674/1.601, allocations: 37.7 kB / 1.325 GB, free: 7.402 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001126/1.602, allocations: 0.8153 MB / 1.326 GB, free: 6.578 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002101/1.602, allocations: 130.1 kB / 1.326 GB, free: 6.449 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.64e-05/1.602, allocations: 15.94 kB / 1.326 GB, free: 6.434 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001705/1.603, allocations: 334 kB / 1.327 GB, free: 6.102 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002327/1.605, allocations: 417 kB / 1.327 GB, free: 5.695 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002636/1.608, allocations: 0.6508 MB / 1.328 GB, free: 4.93 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002481/1.61, allocations: 453.5 kB / 1.328 GB, free: 4.488 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-05/1.61, allocations: 7.953 kB / 1.328 GB, free: 4.48 MB / 0.8542 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.006184/1.616, allocations: 1.401 MB / 1.33 GB, free: 3.027 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.000282/1.617, allocations: 268.6 kB / 1.33 GB, free: 2.676 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.125e-05/1.617, allocations: 11.94 kB / 1.33 GB, free: 2.664 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003099/1.617, allocations: 65.69 kB / 1.33 GB, free: 2.594 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002157/1.619, allocations: 215.7 kB / 1.33 GB, free: 2.383 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003062/1.622, allocations: 2.813 MB / 1.333 GB, free: 15.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003838/1.626, allocations: 278.5 kB / 1.333 GB, free: 15.04 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002121/1.626, allocations: 35.98 kB / 1.333 GB, free: 15 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/1.626, allocations: 4 kB / 1.333 GB, free: 15 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00538/1.632, allocations: 1.148 MB / 1.334 GB, free: 13.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.643e-05/1.632, allocations: 11.95 kB / 1.334 GB, free: 13.79 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002295/1.632, allocations: 70.03 kB / 1.334 GB, free: 13.72 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001964/1.634, allocations: 195.7 kB / 1.335 GB, free: 13.53 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00302/1.637, allocations: 2.825 MB / 1.337 GB, free: 10.44 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003145/1.64, allocations: 217.2 kB / 1.337 GB, free: 10.23 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002242/1.641, allocations: 31.98 kB / 1.338 GB, free: 10.2 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.00154/1.642, allocations: 0.5126 MB / 1.338 GB, free: 9.672 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005256/1.643, allocations: 169.8 kB / 1.338 GB, free: 9.504 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003722/1.647, allocations: 0.9292 MB / 1.339 GB, free: 8.52 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/1.647, allocations: 4 kB / 1.339 GB, free: 8.516 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/1.647, allocations: 4 kB / 1.339 GB, free: 8.512 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/1.647, allocations: 3.984 kB / 1.339 GB, free: 8.508 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.007229/1.654, allocations: 2.185 MB / 1.341 GB, free: 6.203 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/1.654, allocations: 4.125 kB / 1.341 GB, free: 6.199 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001164/1.655, allocations: 99.86 kB / 1.341 GB, free: 6.102 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002301/1.655, allocations: 49.69 kB / 1.341 GB, free: 6.047 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.674e-05/1.655, allocations: 19.94 kB / 1.341 GB, free: 6.027 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003142/1.659, allocations: 2.817 MB / 1.344 GB, free: 2.938 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/1.659, allocations: 0 / 1.344 GB, free: 2.938 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003499/1.662, allocations: 0.9934 MB / 1.345 GB, free: 1.867 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001079/1.663, allocations: 326.9 kB / 1.345 GB, free: 1.527 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003459/1.664, allocations: 8 kB / 1.345 GB, free: 1.52 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002382/1.666, allocations: 143.7 kB / 1.346 GB, free: 1.379 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/1.666, allocations: 27.86 kB / 1.346 GB, free: 1.352 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.459e-05/1.666, allocations: 15.98 kB / 1.346 GB, free: 1.336 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.004375/1.671, allocations: 1.317 MB / 1.347 GB, free: 15.99 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8.32e-07/1.671, allocations: 0 / 1.347 GB, free: 15.99 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004439/1.675, allocations: 0.7602 MB / 1.348 GB, free: 15.23 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.004951/1.68, allocations: 1.76 MB / 1.349 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01144/1.692, allocations: 1.714 MB / 1.351 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.81e-05/1.692, allocations: 4 kB / 1.351 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002879/1.695, allocations: 0.4985 MB / 1.352 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009291/1.704, allocations: 0.9765 MB / 1.352 GB, free: 10.12 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04432/1.748, allocations: 10.59 MB / 1.363 GB, free: 14.84 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001517/1.75, allocations: 1.344 MB / 1.364 GB, free: 13.46 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.003269/1.753, allocations: 378.9 kB / 1.365 GB, free: 13.09 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001706/1.755, allocations: 0.6477 MB / 1.365 GB, free: 12.44 MB / 0.9011 GB Notification: Performance of SimCode: time 1.633e-06/1.755, allocations: 0 / 1.365 GB, free: 12.44 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1487/1.904, allocations: 49.4 MB / 1.413 GB, free: 11.45 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003454/1.904, allocations: 200 kB / 1.414 GB, free: 11.21 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.342/6.246, allocations: 0 / 1.414 GB, free: 11.21 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)