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.001122/0.001123, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001862/0.001862, allocations: 172.7 kB / 15.95 MB, free: 208 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.758/1.758, allocations: 205.4 MB / 222.1 MB, free: 5.59 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.827/1.827, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0005341/0.0005342, allocations: 21.67 kB / 0.6738 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3099, allocations: 116.3 MB / 0.7874 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 0.9173/1.227, allocations: 285.6 MB / 1.066 GB, free: 13 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.03994/1.267, allocations: 28.1 MB / 1.094 GB, free: 2.02 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004134/1.272, allocations: 63.62 kB / 1.094 GB, free: 1.957 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.005636/1.277, allocations: 0.9703 MB / 1.095 GB, free: 0.9805 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.009261/1.287, allocations: 2.186 MB / 1.097 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.007115/1.294, allocations: 1.747 MB / 1.099 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.009033/1.303, allocations: 5.114 MB / 1.104 GB, free: 7.926 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004181/1.307, allocations: 1.385 MB / 1.105 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005642/1.313, allocations: 1.794 MB / 1.107 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003209/1.316, allocations: 1.252 MB / 1.108 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0006804/1.317, allocations: 68 kB / 1.108 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006316/1.323, allocations: 2.019 MB / 1.11 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.001235/1.324, allocations: 490.2 kB / 1.11 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001494/1.326, allocations: 460.7 kB / 1.111 GB, free: 436 kB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.006483/1.332, allocations: 3.409 MB / 1.114 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/1.332, allocations: 4 kB / 1.114 GB, free: 13 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.565e-06/1.332, allocations: 0 / 1.114 GB, free: 13 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0001302/1.332, allocations: 0 / 1.114 GB, free: 13 MB / 0.8262 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.006528/1.339, allocations: 2.115 MB / 1.116 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.095e-05/1.339, allocations: 8.031 kB / 1.116 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007934/1.34, allocations: 202.1 kB / 1.116 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005505/1.345, allocations: 0.8638 MB / 1.117 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005051/1.35, allocations: 1.926 MB / 1.119 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007182/1.351, allocations: 238.4 kB / 1.119 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005741/1.352, allocations: 136 kB / 1.12 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005046/1.357, allocations: 1.657 MB / 1.121 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.54e-05/1.357, allocations: 0 / 1.121 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002315/1.357, allocations: 52 kB / 1.121 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.046e-05/1.357, allocations: 54.48 kB / 1.121 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00407/1.361, allocations: 1.501 MB / 1.123 GB, free: 4.066 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 preOpt removeSimpleEquations (simulation): time 0.01282/1.374, allocations: 7.399 MB / 1.13 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002258/1.376, allocations: 0.6901 MB / 1.131 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007364/1.377, allocations: 312.4 kB / 1.131 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003103/1.378, allocations: 186.2 kB / 1.131 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/1.378, allocations: 42.56 kB / 1.131 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009296/1.379, allocations: 82.86 kB / 1.131 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=37): time 3.476e-06/1.379, allocations: 0 / 1.131 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of matching and sorting (n=37): time 0.003377/1.382, allocations: 1.325 MB / 1.133 GB, free: 9.387 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/1.382, allocations: 59.34 kB / 1.133 GB, free: 9.316 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003722/1.386, allocations: 1.851 MB / 1.134 GB, free: 7.422 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001161/1.386, allocations: 37.7 kB / 1.134 GB, free: 7.379 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008078/1.387, allocations: 0.8153 MB / 1.135 GB, free: 6.555 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001573/1.387, allocations: 138 kB / 1.135 GB, free: 6.418 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.113e-05/1.387, allocations: 8 kB / 1.135 GB, free: 6.41 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001325/1.387, allocations: 326 kB / 1.136 GB, free: 6.086 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001148/1.388, allocations: 417 kB / 1.136 GB, free: 5.68 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00133/1.39, allocations: 0.6547 MB / 1.137 GB, free: 4.91 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001245/1.391, allocations: 461.3 kB / 1.137 GB, free: 4.461 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.157e-06/1.391, allocations: 0 / 1.137 GB, free: 4.461 MB / 0.8419 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003369/1.394, allocations: 1.397 MB / 1.139 GB, free: 3.012 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002819/1.395, allocations: 272.6 kB / 1.139 GB, free: 2.656 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/1.395, allocations: 11.92 kB / 1.139 GB, free: 2.645 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002448/1.395, allocations: 61.69 kB / 1.139 GB, free: 2.578 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/1.396, allocations: 219.7 kB / 1.139 GB, free: 2.363 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002441/1.398, allocations: 2.821 MB / 1.142 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00253/1.401, allocations: 272.3 kB / 1.142 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000131/1.401, allocations: 35.98 kB / 1.142 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/1.401, allocations: 8.094 kB / 1.142 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002908/1.404, allocations: 1.147 MB / 1.143 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.308e-05/1.404, allocations: 8 kB / 1.143 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001841/1.404, allocations: 73.52 kB / 1.143 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/1.405, allocations: 200 kB / 1.144 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002386/1.408, allocations: 2.825 MB / 1.146 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002178/1.41, allocations: 223 kB / 1.146 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/1.41, allocations: 31.98 kB / 1.147 GB, free: 10.16 MB / 0.8575 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.001327/1.411, allocations: 0.5153 MB / 1.147 GB, free: 9.633 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006192/1.412, allocations: 165.9 kB / 1.147 GB, free: 9.469 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002425/1.414, allocations: 0.933 MB / 1.148 GB, free: 8.48 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/1.414, allocations: 4 kB / 1.148 GB, free: 8.477 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/1.414, allocations: 0 / 1.148 GB, free: 8.477 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/1.414, allocations: 3.984 kB / 1.148 GB, free: 8.473 MB / 0.8575 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.004978/1.419, allocations: 2.177 MB / 1.15 GB, free: 6.176 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/1.419, allocations: 4 kB / 1.15 GB, free: 6.172 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005844/1.42, allocations: 95.98 kB / 1.15 GB, free: 6.078 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000152/1.42, allocations: 57.77 kB / 1.15 GB, free: 6.016 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.976e-05/1.42, allocations: 8 kB / 1.15 GB, free: 6.008 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002465/1.423, allocations: 2.821 MB / 1.153 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/1.423, allocations: 4.125 kB / 1.153 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002173/1.425, allocations: 0.9894 MB / 1.154 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009738/1.426, allocations: 334.8 kB / 1.154 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004862/1.426, allocations: 8 kB / 1.154 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001449/1.428, allocations: 135.8 kB / 1.155 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.328e-05/1.428, allocations: 31.86 kB / 1.155 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.044e-05/1.428, allocations: 19.98 kB / 1.155 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.003203/1.431, allocations: 1.313 MB / 1.156 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.61e-07/1.431, allocations: 0 / 1.156 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.003691/1.435, allocations: 0.7602 MB / 1.157 GB, free: 15.21 MB / 0.8731 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.003195/1.438, allocations: 1.756 MB / 1.158 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.004158/1.442, allocations: 1.724 MB / 1.16 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/1.442, allocations: 0 / 1.16 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009401/1.443, allocations: 0.4942 MB / 1.161 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005282/1.449, allocations: 0.9706 MB / 1.161 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0291/1.478, allocations: 10.59 MB / 1.172 GB, free: 14.82 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001487/1.479, allocations: 1.336 MB / 1.173 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.002382/1.482, allocations: 382.9 kB / 1.173 GB, free: 13.08 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001066/1.483, allocations: 0.6516 MB / 1.174 GB, free: 12.43 MB / 0.8887 GB Notification: Performance of SimCode: time 1.152e-06/1.483, allocations: 0 / 1.174 GB, free: 12.43 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09294/1.576, allocations: 49.39 MB / 1.222 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001772/1.576, allocations: 185.5 kB / 1.223 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.104/4.68, allocations: 0 / 1.223 GB, free: 11.36 MB / 0.9356 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: