Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FMI.Validation.HeaterFan.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,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FMI_Validation_HeaterFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.732/1.732, allocations: 288.4 MB / 303.3 MB, free: 8.168 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.001388/0.001388, allocations: 182.9 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.812/1.812, allocations: 205.4 MB / 0.6307 GB, free: 9.957 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.0009725/0.0009725, allocations: 90.91 kB / 0.744 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004495/0.0004499, allocations: 11 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2707, allocations: 115.3 MB / 0.9796 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 0.9672/1.238, allocations: 285.6 MB / 1.259 GB, free: 13.08 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.05611/1.294, allocations: 28.09 MB / 1.286 GB, free: 0.9258 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004925/1.299, allocations: 67.56 kB / 1.286 GB, free: 0.8594 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.005804/1.305, allocations: 0.9781 MB / 1.287 GB, free: 15.88 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.01027/1.315, allocations: 2.178 MB / 1.289 GB, free: 13.69 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.008943/1.324, allocations: 1.742 MB / 1.291 GB, free: 11.96 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.008899/1.333, allocations: 5.109 MB / 1.296 GB, free: 6.84 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003356/1.337, allocations: 1.382 MB / 1.297 GB, free: 5.426 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005673/1.342, allocations: 1.797 MB / 1.299 GB, free: 3.621 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002987/1.345, allocations: 1.249 MB / 1.3 GB, free: 2.367 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0004441/1.346, allocations: 68 kB / 1.3 GB, free: 2.301 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007348/1.353, allocations: 2.007 MB / 1.302 GB, free: 296 kB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.001371/1.355, allocations: 494.2 kB / 1.303 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.001426/1.356, allocations: 464.6 kB / 1.303 GB, free: 15.34 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.006396/1.362, allocations: 3.402 MB / 1.306 GB, free: 11.93 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.003e-05/1.363, allocations: 0 / 1.306 GB, free: 11.93 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.926e-06/1.363, allocations: 3.938 kB / 1.306 GB, free: 11.93 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001672/1.363, allocations: 4 kB / 1.306 GB, free: 11.93 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.005497/1.368, allocations: 2.115 MB / 1.309 GB, free: 9.746 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.539e-05/1.368, allocations: 16.02 kB / 1.309 GB, free: 9.73 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005612/1.369, allocations: 202.2 kB / 1.309 GB, free: 9.523 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005759/1.375, allocations: 0.856 MB / 1.31 GB, free: 8.664 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004656/1.379, allocations: 1.945 MB / 1.311 GB, free: 6.664 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007374/1.38, allocations: 230.5 kB / 1.312 GB, free: 6.438 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003206/1.38, allocations: 132 kB / 1.312 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004014/1.384, allocations: 1.657 MB / 1.313 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.614e-05/1.384, allocations: 4 kB / 1.313 GB, free: 4.59 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001369/1.385, allocations: 56 kB / 1.313 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.647e-05/1.385, allocations: 50.5 kB / 1.314 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003835/1.389, allocations: 1.501 MB / 1.315 GB, free: 2.977 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.01188/1.4, allocations: 7.383 MB / 1.322 GB, free: 11.09 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002413/1.403, allocations: 0.6762 MB / 1.323 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007901/1.404, allocations: 308.9 kB / 1.323 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003096/1.404, allocations: 197.9 kB / 1.323 GB, free: 9.875 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/1.404, allocations: 38.56 kB / 1.323 GB, free: 9.828 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009214/1.405, allocations: 90.95 kB / 1.323 GB, free: 9.738 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=37): time 2.965e-06/1.405, allocations: 0 / 1.323 GB, free: 9.738 MB / 0.8542 GB Notification: Performance of matching and sorting (n=37): time 0.003699/1.409, allocations: 1.321 MB / 1.325 GB, free: 8.328 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/1.409, allocations: 59.16 kB / 1.325 GB, free: 8.258 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003537/1.412, allocations: 1.847 MB / 1.327 GB, free: 6.367 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001493/1.413, allocations: 37.7 kB / 1.327 GB, free: 6.324 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008142/1.413, allocations: 0.8153 MB / 1.327 GB, free: 5.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/1.414, allocations: 134.1 kB / 1.328 GB, free: 5.367 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.906e-05/1.414, allocations: 12 kB / 1.328 GB, free: 5.355 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001384/1.414, allocations: 329.9 kB / 1.328 GB, free: 5.027 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001235/1.415, allocations: 417 kB / 1.328 GB, free: 4.621 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001418/1.416, allocations: 0.6546 MB / 1.329 GB, free: 3.852 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001271/1.418, allocations: 461.3 kB / 1.329 GB, free: 3.402 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/1.418, allocations: 0 / 1.329 GB, free: 3.402 MB / 0.8542 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003442/1.421, allocations: 1.401 MB / 1.331 GB, free: 1.949 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002163/1.421, allocations: 280.5 kB / 1.331 GB, free: 1.586 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/1.421, allocations: 4 kB / 1.331 GB, free: 1.582 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002162/1.422, allocations: 61.69 kB / 1.331 GB, free: 1.516 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/1.423, allocations: 223.6 kB / 1.331 GB, free: 1.297 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002168/1.425, allocations: 2.813 MB / 1.334 GB, free: 14.22 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002371/1.427, allocations: 274.6 kB / 1.334 GB, free: 13.95 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/1.427, allocations: 39.98 kB / 1.334 GB, free: 13.91 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.538e-06/1.427, allocations: 4 kB / 1.334 GB, free: 13.91 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00273/1.43, allocations: 1.147 MB / 1.335 GB, free: 12.72 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/1.43, allocations: 7.984 kB / 1.335 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001684/1.43, allocations: 69.92 kB / 1.336 GB, free: 12.64 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/1.431, allocations: 199.7 kB / 1.336 GB, free: 12.44 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002098/1.434, allocations: 2.813 MB / 1.338 GB, free: 9.363 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002009/1.436, allocations: 224.3 kB / 1.339 GB, free: 9.145 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.872e-05/1.436, allocations: 31.98 kB / 1.339 GB, free: 9.113 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.001059/1.437, allocations: 0.5203 MB / 1.339 GB, free: 8.582 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003591/1.437, allocations: 165.8 kB / 1.339 GB, free: 8.418 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002113/1.439, allocations: 0.9294 MB / 1.34 GB, free: 7.43 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.824e-06/1.439, allocations: 4 kB / 1.34 GB, free: 7.426 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/1.439, allocations: 0 / 1.34 GB, free: 7.426 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/1.439, allocations: 3.984 kB / 1.34 GB, free: 7.422 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.004421/1.444, allocations: 2.181 MB / 1.342 GB, free: 5.121 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/1.444, allocations: 4.031 kB / 1.342 GB, free: 5.117 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006306/1.444, allocations: 91.92 kB / 1.343 GB, free: 5.027 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001681/1.445, allocations: 61.62 kB / 1.343 GB, free: 4.961 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.958e-05/1.445, allocations: 8.094 kB / 1.343 GB, free: 4.953 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002335/1.447, allocations: 2.828 MB / 1.345 GB, free: 1.855 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.447, allocations: 4.031 kB / 1.345 GB, free: 1.852 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002181/1.449, allocations: 0.9971 MB / 1.346 GB, free: 0.7773 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009122/1.45, allocations: 330.9 kB / 1.347 GB, free: 444 kB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000176/1.45, allocations: 4 kB / 1.347 GB, free: 440 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001288/1.452, allocations: 139.7 kB / 1.347 GB, free: 300 kB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.986e-05/1.452, allocations: 35.8 kB / 1.347 GB, free: 264 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.719e-05/1.452, allocations: 19.98 kB / 1.347 GB, free: 244 kB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002743/1.454, allocations: 1.313 MB / 1.348 GB, free: 14.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.2e-07/1.455, allocations: 0 / 1.348 GB, free: 14.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002796/1.457, allocations: 0.7641 MB / 1.349 GB, free: 14.13 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.00284/1.46, allocations: 1.74 MB / 1.351 GB, free: 12.31 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004181/1.464, allocations: 1.723 MB / 1.352 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/1.464, allocations: 0 / 1.352 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0009345/1.465, allocations: 0.4985 MB / 1.353 GB, free: 10.01 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004847/1.47, allocations: 0.967 MB / 1.354 GB, free: 9.051 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02707/1.497, allocations: 10.59 MB / 1.364 GB, free: 13.76 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001422/1.499, allocations: 1.351 MB / 1.365 GB, free: 12.38 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.002554/1.501, allocations: 374.9 kB / 1.366 GB, free: 12.01 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001149/1.503, allocations: 0.6477 MB / 1.366 GB, free: 11.36 MB / 0.9011 GB Notification: Performance of SimCode: time 8.22e-07/1.503, allocations: 0 / 1.366 GB, free: 11.36 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.091/1.594, allocations: 49.41 MB / 1.415 GB, free: 10.35 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000194/1.594, allocations: 217.3 kB / 1.415 GB, free: 10.09 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.535/5.129, allocations: 3.938 kB / 1.415 GB, free: 10.09 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FMI.Validation.HeaterFan.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FMI.Validation.HeaterFan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_FMI_Validation_HeaterFan_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_FMI_Validation_HeaterFan.fmu > Buildings_maint.8.0.x_Buildings.Fluid.FMI.Validation.HeaterFan.pipe 2>&1)