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.714/1.714, allocations: 288.4 MB / 303.3 MB, free: 8.133 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.001092/0.001092, allocations: 176.5 kB / 372 MB, free: 10.28 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.745/1.745, allocations: 205.4 MB / 0.6307 GB, free: 9.965 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.0008773/0.0008776, allocations: 90.3 kB / 0.744 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004349/0.0004349, allocations: 11.5 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.267, allocations: 115.3 MB / 0.9796 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.8963/1.163, allocations: 278.4 MB / 1.252 GB, free: 4.16 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.03785/1.201, allocations: 26.32 MB / 1.277 GB, free: 9.785 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003738/1.205, allocations: 67.56 kB / 1.277 GB, free: 9.719 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.004422/1.21, allocations: 0.8695 MB / 1.278 GB, free: 8.844 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.008041/1.218, allocations: 2.094 MB / 1.28 GB, free: 6.742 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.00634/1.224, allocations: 1.735 MB / 1.282 GB, free: 5.02 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.008093/1.232, allocations: 4.767 MB / 1.287 GB, free: 248 kB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002675/1.235, allocations: 1.182 MB / 1.288 GB, free: 15.02 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005518/1.24, allocations: 1.712 MB / 1.289 GB, free: 13.3 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00287/1.243, allocations: 1.136 MB / 1.29 GB, free: 12.16 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003067/1.244, allocations: 64 kB / 1.291 GB, free: 12.1 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005474/1.249, allocations: 1.653 MB / 1.292 GB, free: 10.45 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0007862/1.25, allocations: 478.2 kB / 1.293 GB, free: 9.977 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0009429/1.251, allocations: 424.8 kB / 1.293 GB, free: 9.555 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.004601/1.255, allocations: 3.039 MB / 1.296 GB, free: 6.508 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 9.368e-06/1.255, allocations: 4 kB / 1.296 GB, free: 6.504 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.074e-06/1.255, allocations: 3.938 kB / 1.296 GB, free: 6.5 MB / 0.823 GB Notification: Performance of Transformations before backend: time 3.581e-05/1.256, allocations: 0 / 1.296 GB, free: 6.5 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.003788/1.259, allocations: 1.95 MB / 1.298 GB, free: 4.488 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/1.259, allocations: 19.95 kB / 1.298 GB, free: 4.469 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002499/1.26, allocations: 164.8 kB / 1.298 GB, free: 4.297 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003655/1.263, allocations: 0.6221 MB / 1.299 GB, free: 3.672 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003696/1.267, allocations: 1.851 MB / 1.3 GB, free: 1.766 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006861/1.268, allocations: 222 kB / 1.301 GB, free: 1.547 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001551/1.268, allocations: 108 kB / 1.301 GB, free: 1.441 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002747/1.271, allocations: 1.395 MB / 1.302 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.735e-05/1.271, allocations: 11.94 kB / 1.302 GB, free: 15.92 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001134/1.271, allocations: 44 kB / 1.302 GB, free: 15.88 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.634e-05/1.271, allocations: 38 kB / 1.302 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002558/1.273, allocations: 1.062 MB / 1.303 GB, free: 14.77 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.009488/1.283, allocations: 6.893 MB / 1.31 GB, free: 7.52 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001544/1.285, allocations: 370.5 kB / 1.31 GB, free: 7.148 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003669/1.285, allocations: 134.5 kB / 1.311 GB, free: 7.016 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003124/1.285, allocations: 194.1 kB / 1.311 GB, free: 6.789 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/1.285, allocations: 38.56 kB / 1.311 GB, free: 6.742 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007063/1.286, allocations: 71.06 kB / 1.311 GB, free: 6.672 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=20): time 2.816e-06/1.286, allocations: 0 / 1.311 GB, free: 6.672 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20): time 0.001574/1.288, allocations: 0.5307 MB / 1.311 GB, free: 6.133 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/1.288, allocations: 59.41 kB / 1.311 GB, free: 6.062 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002571/1.29, allocations: 1.722 MB / 1.313 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.745e-05/1.29, allocations: 33.7 kB / 1.313 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000712/1.291, allocations: 0.8327 MB / 1.314 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.27e-05/1.291, allocations: 78.98 kB / 1.314 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.805e-05/1.291, allocations: 16 kB / 1.314 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001324/1.291, allocations: 330 kB / 1.314 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007738/1.292, allocations: 285.8 kB / 1.315 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001021/1.293, allocations: 0.6653 MB / 1.315 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008755/1.294, allocations: 367.7 kB / 1.316 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/1.294, allocations: 4 kB / 1.316 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002325/1.296, allocations: 1.027 MB / 1.317 GB, free: 0.5156 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004022/1.297, allocations: 453.7 kB / 1.317 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.397e-05/1.297, allocations: 12 kB / 1.317 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.126e-05/1.297, allocations: 20 kB / 1.317 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007801/1.298, allocations: 203.7 kB / 1.317 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.31e-05/1.298, allocations: 23.92 kB / 1.317 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001444/1.299, allocations: 188.2 kB / 1.317 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.575e-05/1.299, allocations: 43.98 kB / 1.317 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/1.299, allocations: 5.25 kB / 1.317 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001667/1.301, allocations: 0.8041 MB / 1.318 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.738e-05/1.301, allocations: 12 kB / 1.318 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.872e-05/1.301, allocations: 24.83 kB / 1.318 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006483/1.302, allocations: 191.7 kB / 1.318 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.867e-05/1.302, allocations: 19.94 kB / 1.319 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/1.303, allocations: 132.4 kB / 1.319 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.17e-05/1.303, allocations: 40 kB / 1.319 GB, free: 14.2 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.0009039/1.304, allocations: 0.5124 MB / 1.319 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002354/1.304, allocations: 162 kB / 1.319 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001106/1.305, allocations: 431.1 kB / 1.32 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/1.305, allocations: 4 kB / 1.32 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/1.305, allocations: 0 / 1.32 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/1.305, allocations: 3.953 kB / 1.32 GB, free: 13.08 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.002667/1.308, allocations: 1.522 MB / 1.321 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/1.308, allocations: 7.984 kB / 1.321 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003037/1.308, allocations: 48.22 kB / 1.321 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.745e-06/1.308, allocations: 4 kB / 1.321 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.778e-05/1.308, allocations: 11.98 kB / 1.321 GB, free: 11.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/1.308, allocations: 7.938 kB / 1.321 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/1.308, allocations: 80 / 1.321 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/1.309, allocations: 0.5659 MB / 1.322 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004714/1.31, allocations: 291 kB / 1.322 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001504/1.31, allocations: 8 kB / 1.322 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001125/1.311, allocations: 87.91 kB / 1.322 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.614e-05/1.311, allocations: 15.98 kB / 1.322 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.446e-05/1.311, allocations: 19.98 kB / 1.322 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001893/1.313, allocations: 1.19 MB / 1.323 GB, free: 9.176 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.462e-06/1.313, allocations: 3.938 kB / 1.323 GB, free: 9.172 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001836/1.315, allocations: 0.6667 MB / 1.324 GB, free: 8.504 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.00167/1.317, allocations: 1.308 MB / 1.325 GB, free: 7.141 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002226/1.319, allocations: 0.937 MB / 1.326 GB, free: 6.207 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/1.319, allocations: 1.562 kB / 1.326 GB, free: 6.207 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000347/1.319, allocations: 136.4 kB / 1.326 GB, free: 6.074 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003703/1.323, allocations: 0.8085 MB / 1.327 GB, free: 5.273 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02206/1.345, allocations: 9.231 MB / 1.336 GB, free: 11.43 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001043/1.346, allocations: 1.287 MB / 1.337 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.00189/1.348, allocations: 346 kB / 1.338 GB, free: 9.77 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008496/1.349, allocations: 0.5969 MB / 1.338 GB, free: 9.172 MB / 0.8698 GB Notification: Performance of SimCode: time 9.71e-07/1.349, allocations: 0 / 1.338 GB, free: 9.172 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07457/1.423, allocations: 42.62 MB / 1.38 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002117/1.424, allocations: 197.2 kB / 1.38 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.486/4.91, allocations: 0 / 1.38 GB, free: 14.68 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)