Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.516/1.516, allocations: 288.4 MB / 303.6 MB, free: 8.094 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.000906/0.000906, allocations: 179.4 kB / 372.3 MB, free: 10.1 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.191/1.191, allocations: 205.4 MB / 0.631 GB, free: 9.848 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.0006721/0.0006718, allocations: 94.23 kB / 0.7444 GB, free: 5.766 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003436/0.0003436, allocations: 20.31 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1563, allocations: 115.3 MB / 0.9802 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.5516/0.7079, allocations: 278.4 MB / 1.252 GB, free: 3.957 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.02771/0.7357, allocations: 26.34 MB / 1.278 GB, free: 9.566 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001884/0.7376, allocations: 63.62 kB / 1.278 GB, free: 9.504 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.002484/0.7401, allocations: 1.014 MB / 1.279 GB, free: 8.484 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.005295/0.7454, allocations: 2.382 MB / 1.281 GB, free: 6.094 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.004623/0.75, allocations: 1.919 MB / 1.283 GB, free: 4.184 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.004961/0.755, allocations: 4.843 MB / 1.288 GB, free: 15.33 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00169/0.7567, allocations: 1.41 MB / 1.289 GB, free: 13.87 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003596/0.7603, allocations: 1.809 MB / 1.291 GB, free: 12.05 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001837/0.7622, allocations: 1.135 MB / 1.292 GB, free: 10.91 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001604/0.7623, allocations: 64 kB / 1.292 GB, free: 10.85 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004838/0.7672, allocations: 3.191 MB / 1.295 GB, free: 7.652 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004493/0.7676, allocations: 474.3 kB / 1.296 GB, free: 7.188 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0008538/0.7685, allocations: 0.8765 MB / 1.297 GB, free: 6.301 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.003027/0.7715, allocations: 3.219 MB / 1.3 GB, free: 3.074 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.7715, allocations: 0 / 1.3 GB, free: 3.074 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.082e-06/0.7716, allocations: 0 / 1.3 GB, free: 3.074 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.501e-05/0.7716, allocations: 0 / 1.3 GB, free: 3.074 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 273 * Number of variables: 273 Notification: Performance of Generate backend data structure: time 0.002573/0.7741, allocations: 1.939 MB / 1.302 GB, free: 1.074 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.7742, allocations: 12.03 kB / 1.302 GB, free: 1.062 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001666/0.7744, allocations: 160.8 kB / 1.302 GB, free: 0.8945 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002952/0.7773, allocations: 0.6221 MB / 1.302 GB, free: 276 kB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002611/0.78, allocations: 1.907 MB / 1.304 GB, free: 14.31 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005813/0.7805, allocations: 214 kB / 1.304 GB, free: 14.1 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/0.7807, allocations: 112 kB / 1.305 GB, free: 13.99 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002283/0.783, allocations: 1.398 MB / 1.306 GB, free: 12.48 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.494e-05/0.783, allocations: 4 kB / 1.306 GB, free: 12.47 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.535e-05/0.7831, allocations: 44 kB / 1.306 GB, free: 12.43 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.843e-05/0.7832, allocations: 41.98 kB / 1.306 GB, free: 12.39 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002165/0.7853, allocations: 1.062 MB / 1.307 GB, free: 11.32 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.006612/0.7919, allocations: 6.903 MB / 1.314 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001385/0.7933, allocations: 366.5 kB / 1.314 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000323/0.7937, allocations: 128.8 kB / 1.314 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002467/0.7939, allocations: 190.1 kB / 1.314 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.794, allocations: 38.56 kB / 1.314 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003512/0.7943, allocations: 82.98 kB / 1.315 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=20): time 2.284e-06/0.7943, allocations: 0 / 1.315 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20): time 0.001326/0.7957, allocations: 0.5323 MB / 1.315 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.613e-05/0.7957, allocations: 59.41 kB / 1.315 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002112/0.7978, allocations: 1.718 MB / 1.317 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.058e-05/0.7979, allocations: 33.7 kB / 1.317 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005786/0.7985, allocations: 0.825 MB / 1.318 GB, free: 12 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.595e-05/0.7985, allocations: 82.94 kB / 1.318 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.238e-05/0.7986, allocations: 12 kB / 1.318 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.264e-05/0.7987, allocations: 337.9 kB / 1.318 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007175/0.7994, allocations: 285.8 kB / 1.318 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009022/0.8003, allocations: 0.673 MB / 1.319 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001262/0.8016, allocations: 0.8335 MB / 1.32 GB, free: 13.44 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.8016, allocations: 4 kB / 1.32 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001957/0.8036, allocations: 1.034 MB / 1.321 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002095/0.8038, allocations: 454.5 kB / 1.321 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/0.8038, allocations: 12 kB / 1.321 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.8038, allocations: 23.94 kB / 1.321 GB, free: 11.74 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006962/0.8045, allocations: 207.7 kB / 1.321 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.587e-05/0.8046, allocations: 23.92 kB / 1.321 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/0.8058, allocations: 172.5 kB / 1.322 GB, free: 11.35 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.11e-05/0.8059, allocations: 39.98 kB / 1.322 GB, free: 11.31 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.392e-06/0.8059, allocations: 9.25 kB / 1.322 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001457/0.8073, allocations: 0.8041 MB / 1.322 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.8074, allocations: 15.94 kB / 1.322 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.8074, allocations: 16 kB / 1.322 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005792/0.808, allocations: 196.3 kB / 1.323 GB, free: 10.27 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/0.808, allocations: 19.94 kB / 1.323 GB, free: 10.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008742/0.8089, allocations: 132.4 kB / 1.323 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.132e-05/0.8089, allocations: 44 kB / 1.323 GB, free: 10.08 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * 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 (84): * Single equations (assignments): 83 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006736/0.8096, allocations: 0.5124 MB / 1.323 GB, free: 9.559 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001551/0.8098, allocations: 158 kB / 1.324 GB, free: 9.402 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009447/0.8107, allocations: 435.9 kB / 1.324 GB, free: 8.973 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.728e-06/0.8107, allocations: 4 kB / 1.324 GB, free: 8.969 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.8107, allocations: 0 / 1.324 GB, free: 8.969 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.8108, allocations: 0 / 1.324 GB, free: 8.969 MB / 0.8542 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.002108/0.8129, allocations: 1.529 MB / 1.325 GB, free: 7.355 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.8129, allocations: 0 / 1.325 GB, free: 7.355 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002853/0.8132, allocations: 44.22 kB / 1.325 GB, free: 7.312 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.329e-06/0.8132, allocations: 8 kB / 1.325 GB, free: 7.305 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.295e-05/0.8132, allocations: 11.98 kB / 1.325 GB, free: 7.293 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.8132, allocations: 7.938 kB / 1.326 GB, free: 7.285 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.8132, allocations: 4 kB / 1.326 GB, free: 7.281 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008109/0.814, allocations: 0.5595 MB / 1.326 GB, free: 6.68 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003161/0.8144, allocations: 287 kB / 1.326 GB, free: 6.379 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001339/0.8145, allocations: 8 kB / 1.326 GB, free: 6.371 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000785/0.8153, allocations: 79.92 kB / 1.326 GB, free: 6.293 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.299e-05/0.8153, allocations: 15.92 kB / 1.326 GB, free: 6.277 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.222e-05/0.8154, allocations: 19.98 kB / 1.326 GB, free: 6.258 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.00154/0.8169, allocations: 1.194 MB / 1.328 GB, free: 5.074 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8169, allocations: 0 / 1.328 GB, free: 5.074 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001448/0.8184, allocations: 0.6628 MB / 1.328 GB, free: 4.41 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (20): * Single equations (assignments): 20 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001409/0.8198, allocations: 1.31 MB / 1.33 GB, free: 3.047 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00195/0.8218, allocations: 0.938 MB / 1.33 GB, free: 2.113 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.8218, allocations: 0 / 1.33 GB, free: 2.113 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003132/0.8221, allocations: 133.9 kB / 1.331 GB, free: 1.984 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003334/0.8254, allocations: 0.8137 MB / 1.331 GB, free: 1.18 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01726/0.8427, allocations: 9.239 MB / 1.34 GB, free: 7.328 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007284/0.8435, allocations: 1.284 MB / 1.342 GB, free: 6.016 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001397/0.8449, allocations: 342 kB / 1.342 GB, free: 5.676 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006805/0.8456, allocations: 0.5969 MB / 1.343 GB, free: 5.078 MB / 0.8698 GB Notification: Performance of SimCode: time 3.91e-07/0.8456, allocations: 0 / 1.343 GB, free: 5.078 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.236/2.082, allocations: 43.45 MB / 1.385 GB, free: 10 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002212/2.082, allocations: 199.8 kB / 1.385 GB, free: 9.762 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.006/5.088, allocations: 4 kB / 1.385 GB, free: 9.758 MB / 0.9167 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.fmu > Buildings_maint.8.0.x_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1)