Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Validation_HeaterFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Validation_HeaterFan",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001594/0.001594, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001957/0.001957, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.571/1.571, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.686/1.686, allocations: 292.6 MB / 0.5497 GB, free: 14.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009263/0.0009264, allocations: 15.28 kB / 0.6737 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2688/0.2698, allocations: 116.3 MB / 0.7872 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 0.9674/1.237, allocations: 253.2 MB / 1.035 GB, free: 6.535 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.03588/1.273, allocations: 26.52 MB / 1.06 GB, free: 476 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003675/1.277, allocations: 63.56 kB / 1.06 GB, free: 412 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.004848/1.282, allocations: 1.054 MB / 1.062 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.01065/1.292, allocations: 2.9 MB / 1.064 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.01101/1.304, allocations: 2.875 MB / 1.067 GB, free: 9.598 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.008147/1.312, allocations: 2.833 MB / 1.07 GB, free: 6.758 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003109/1.315, allocations: 1.409 MB / 1.071 GB, free: 5.316 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004458/1.319, allocations: 1.6 MB / 1.073 GB, free: 3.711 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001797/1.321, allocations: 0.8633 MB / 1.074 GB, free: 2.844 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002065/1.321, allocations: 68 kB / 1.074 GB, free: 2.777 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004757/1.326, allocations: 1.673 MB / 1.075 GB, free: 1.098 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0007369/1.327, allocations: 454.4 kB / 1.076 GB, free: 0.6523 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0008981/1.328, allocations: 460.6 kB / 1.076 GB, free: 200 kB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.005369/1.333, allocations: 3.218 MB / 1.079 GB, free: 12.97 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/1.333, allocations: 0 / 1.079 GB, free: 12.97 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.063e-06/1.333, allocations: 0 / 1.079 GB, free: 12.97 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.574e-05/1.333, allocations: 0 / 1.079 GB, free: 12.97 MB / 0.795 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.004972/1.338, allocations: 2.068 MB / 1.081 GB, free: 10.84 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/1.338, allocations: 8.031 kB / 1.081 GB, free: 10.83 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004142/1.339, allocations: 198.2 kB / 1.082 GB, free: 10.62 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005618/1.344, allocations: 0.856 MB / 1.082 GB, free: 9.766 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00497/1.349, allocations: 1.918 MB / 1.084 GB, free: 7.793 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007159/1.35, allocations: 234.4 kB / 1.085 GB, free: 7.562 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000262/1.35, allocations: 136 kB / 1.085 GB, free: 7.43 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003919/1.354, allocations: 1.653 MB / 1.086 GB, free: 5.719 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.523e-05/1.354, allocations: 0 / 1.086 GB, free: 5.719 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001332/1.355, allocations: 52 kB / 1.086 GB, free: 5.668 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.09e-05/1.355, allocations: 58.44 kB / 1.086 GB, free: 5.609 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003867/1.359, allocations: 1.501 MB / 1.088 GB, free: 4.102 MB / 0.795 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.01192/1.37, allocations: 7.403 MB / 1.095 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002754/1.373, allocations: 0.7287 MB / 1.096 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.115e-05/1.373, allocations: 20.75 kB / 1.096 GB, free: 11.44 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.413e-05/1.373, allocations: 38.56 kB / 1.096 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007843/1.374, allocations: 86.81 kB / 1.096 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=37): time 3.296e-06/1.374, allocations: 4 kB / 1.096 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of matching and sorting (n=37): time 0.003595/1.378, allocations: 1.322 MB / 1.097 GB, free: 9.891 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/1.378, allocations: 59.34 kB / 1.097 GB, free: 9.82 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003505/1.381, allocations: 1.847 MB / 1.099 GB, free: 7.93 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001074/1.382, allocations: 37.7 kB / 1.099 GB, free: 7.887 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007689/1.382, allocations: 0.823 MB / 1.1 GB, free: 7.055 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.000144/1.382, allocations: 130.1 kB / 1.1 GB, free: 6.926 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.682e-05/1.382, allocations: 12 kB / 1.1 GB, free: 6.914 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001748/1.383, allocations: 330 kB / 1.1 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001267/1.384, allocations: 417.1 kB / 1.101 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00149/1.385, allocations: 0.6583 MB / 1.101 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001317/1.387, allocations: 457.3 kB / 1.102 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/1.387, allocations: 4 kB / 1.102 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003566/1.39, allocations: 1.401 MB / 1.103 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.001993/1.392, allocations: 2.554 MB / 1.106 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.853e-05/1.392, allocations: 8 kB / 1.106 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002388/1.393, allocations: 61.7 kB / 1.106 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/1.394, allocations: 215.7 kB / 1.106 GB, free: 488 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002538/1.396, allocations: 2.817 MB / 1.109 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002299/1.399, allocations: 280.3 kB / 1.109 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.167e-05/1.399, allocations: 39.98 kB / 1.109 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/1.399, allocations: 4 kB / 1.109 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002618/1.401, allocations: 1.155 MB / 1.11 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.788e-05/1.401, allocations: 8 kB / 1.11 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001278/1.402, allocations: 66.14 kB / 1.11 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009671/1.403, allocations: 199.7 kB / 1.11 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002098/1.405, allocations: 2.833 MB / 1.113 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001838/1.406, allocations: 212.6 kB / 1.113 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.55e-05/1.407, allocations: 31.98 kB / 1.113 GB, free: 8.266 MB / 0.8262 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.001072/1.408, allocations: 0.5164 MB / 1.114 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002448/1.408, allocations: 173.8 kB / 1.114 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00204/1.41, allocations: 0.9399 MB / 1.115 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/1.41, allocations: 4 kB / 1.115 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/1.41, allocations: 0 / 1.115 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/1.41, allocations: 3.984 kB / 1.115 GB, free: 6.562 MB / 0.8262 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.003979/1.414, allocations: 2.235 MB / 1.117 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/1.414, allocations: 4 kB / 1.117 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006753/1.415, allocations: 99.97 kB / 1.117 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001814/1.415, allocations: 53.66 kB / 1.117 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.765e-05/1.415, allocations: 11.98 kB / 1.117 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002544/1.417, allocations: 2.821 MB / 1.12 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/1.417, allocations: 3.953 kB / 1.12 GB, free: 0.9258 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002112/1.42, allocations: 1.067 MB / 1.121 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009355/1.421, allocations: 330.8 kB / 1.122 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002077/1.421, allocations: 11.95 kB / 1.122 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001197/1.422, allocations: 139.8 kB / 1.122 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.593e-05/1.422, allocations: 27.91 kB / 1.122 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.585e-05/1.422, allocations: 19.98 kB / 1.122 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002426/1.425, allocations: 1.309 MB / 1.123 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.8e-07/1.425, allocations: 4 kB / 1.123 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002275/1.427, allocations: 0.7602 MB / 1.124 GB, free: 13.11 MB / 0.8419 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.002717/1.43, allocations: 2.054 MB / 1.126 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.004025/1.434, allocations: 1.73 MB / 1.127 GB, free: 9.176 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/1.434, allocations: 0 / 1.127 GB, free: 9.176 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0009225/1.435, allocations: 0.5031 MB / 1.128 GB, free: 8.648 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004367/1.439, allocations: 0.9758 MB / 1.129 GB, free: 7.684 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009559/1.449, allocations: 8.594 MB / 1.137 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001275/1.45, allocations: 1.375 MB / 1.139 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.002256/1.452, allocations: 367 kB / 1.139 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001179/1.453, allocations: 0.6593 MB / 1.14 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of SimCode: time 2.004e-06/1.453, allocations: 0 / 1.14 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1004/1.554, allocations: 48 MB / 1.186 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000196/1.554, allocations: 190.3 kB / 1.187 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.198/4.752, allocations: 0 / 1.187 GB, free: 12.61 MB / 0.9044 GB (rm -f Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; mkfifo Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan.pipe >> ../files/Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FMI_Validation_HeaterFan_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FMI_Validation_HeaterFan.fmu > Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan.pipe 2>&1) Environment - environmentSimulation: