Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.616/2.616, allocations: 287.3 MB / 302.3 MB, free: 8.336 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.001562/0.001562, allocations: 181.2 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.152/2.152, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001165/0.001165, allocations: 96.12 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004956/0.0004956, allocations: 17.12 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2275, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 1.118/1.345, allocations: 247.2 MB / 1.22 GB, free: 1.5 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.05232/1.398, allocations: 25.02 MB / 1.244 GB, free: 9.145 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003226/1.401, allocations: 59.56 kB / 1.244 GB, free: 9.086 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.005422/1.406, allocations: 1.038 MB / 1.245 GB, free: 8.043 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.01322/1.42, allocations: 2.857 MB / 1.248 GB, free: 5.18 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.01289/1.432, allocations: 2.849 MB / 1.251 GB, free: 2.355 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.007756/1.44, allocations: 2.562 MB / 1.253 GB, free: 15.79 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003027/1.443, allocations: 1.206 MB / 1.254 GB, free: 14.55 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005538/1.449, allocations: 1.534 MB / 1.256 GB, free: 13.02 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002139/1.451, allocations: 0.7661 MB / 1.257 GB, free: 12.25 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0003471/1.451, allocations: 63.94 kB / 1.257 GB, free: 12.18 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005522/1.457, allocations: 1.435 MB / 1.258 GB, free: 10.75 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.001013/1.458, allocations: 430.6 kB / 1.259 GB, free: 10.32 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0009223/1.459, allocations: 428.7 kB / 1.259 GB, free: 9.898 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.006213/1.465, allocations: 2.876 MB / 1.262 GB, free: 7.016 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/1.465, allocations: 3.938 kB / 1.262 GB, free: 7.012 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.735e-06/1.465, allocations: 3.938 kB / 1.262 GB, free: 7.008 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 5.427e-05/1.465, allocations: 0 / 1.262 GB, free: 7.008 MB / 0.7917 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.005503/1.471, allocations: 1.904 MB / 1.264 GB, free: 5.043 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 6.258e-05/1.471, allocations: 16.02 kB / 1.264 GB, free: 5.027 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004429/1.471, allocations: 164.8 kB / 1.264 GB, free: 4.855 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006054/1.477, allocations: 0.6299 MB / 1.264 GB, free: 4.223 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006088/1.484, allocations: 1.84 MB / 1.266 GB, free: 2.328 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001321/1.485, allocations: 222 kB / 1.266 GB, free: 2.109 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003536/1.485, allocations: 120 kB / 1.267 GB, free: 1.992 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004647/1.49, allocations: 1.383 MB / 1.268 GB, free: 0.4961 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.73e-05/1.49, allocations: 3.938 kB / 1.268 GB, free: 0.4922 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001878/1.49, allocations: 44 kB / 1.268 GB, free: 460 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.544e-05/1.49, allocations: 46 kB / 1.268 GB, free: 416 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004781/1.495, allocations: 1.054 MB / 1.269 GB, free: 15.35 MB / 0.8073 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.01527/1.51, allocations: 6.905 MB / 1.276 GB, free: 8.082 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002838/1.513, allocations: 368.5 kB / 1.276 GB, free: 7.715 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.602e-05/1.513, allocations: 16.31 kB / 1.276 GB, free: 7.699 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/1.514, allocations: 38.52 kB / 1.276 GB, free: 7.652 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008601/1.514, allocations: 78.97 kB / 1.276 GB, free: 7.574 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=20): time 2.665e-06/1.514, allocations: 0 / 1.276 GB, free: 7.574 MB / 0.8073 GB Notification: Performance of matching and sorting (n=20): time 0.002778/1.517, allocations: 0.5365 MB / 1.277 GB, free: 7.031 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/1.517, allocations: 55.34 kB / 1.277 GB, free: 6.965 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004387/1.522, allocations: 1.718 MB / 1.278 GB, free: 5.25 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0001376/1.522, allocations: 33.7 kB / 1.278 GB, free: 5.211 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001102/1.523, allocations: 0.8327 MB / 1.279 GB, free: 4.371 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/1.523, allocations: 75.08 kB / 1.279 GB, free: 4.297 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.405e-05/1.523, allocations: 12 kB / 1.279 GB, free: 4.285 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001651/1.523, allocations: 334 kB / 1.28 GB, free: 3.953 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001554/1.525, allocations: 289.8 kB / 1.28 GB, free: 3.672 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001862/1.527, allocations: 0.67 MB / 1.281 GB, free: 2.809 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00169/1.529, allocations: 377.2 kB / 1.281 GB, free: 2.441 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.886e-06/1.529, allocations: 0 / 1.281 GB, free: 2.441 MB / 0.8073 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.004302/1.533, allocations: 1.054 MB / 1.282 GB, free: 1.379 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.00242/1.535, allocations: 4.967 MB / 1.287 GB, free: 12 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.495e-05/1.535, allocations: 19.92 kB / 1.287 GB, free: 11.98 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.874e-05/1.535, allocations: 16 kB / 1.287 GB, free: 11.96 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001683/1.537, allocations: 199.7 kB / 1.287 GB, free: 11.77 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-05/1.537, allocations: 23.88 kB / 1.287 GB, free: 11.74 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002619/1.54, allocations: 192.3 kB / 1.287 GB, free: 11.55 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000166/1.54, allocations: 39.98 kB / 1.287 GB, free: 11.52 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/1.54, allocations: 4 kB / 1.287 GB, free: 11.51 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003109/1.543, allocations: 0.8085 MB / 1.288 GB, free: 10.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.335e-05/1.543, allocations: 12 kB / 1.288 GB, free: 10.69 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.444e-05/1.543, allocations: 20 kB / 1.288 GB, free: 10.67 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001299/1.545, allocations: 191.8 kB / 1.288 GB, free: 10.48 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.783e-05/1.545, allocations: 24 kB / 1.288 GB, free: 10.46 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002013/1.547, allocations: 132.4 kB / 1.288 GB, free: 10.33 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001279/1.547, allocations: 47.97 kB / 1.289 GB, free: 10.28 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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.001323/1.548, allocations: 0.5163 MB / 1.289 GB, free: 9.754 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004156/1.549, allocations: 161.9 kB / 1.289 GB, free: 9.594 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001932/1.551, allocations: 437.4 kB / 1.29 GB, free: 9.156 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.315e-06/1.551, allocations: 4 kB / 1.29 GB, free: 9.152 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/1.551, allocations: 0 / 1.29 GB, free: 9.152 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/1.551, allocations: 0 / 1.29 GB, free: 9.152 MB / 0.823 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.004529/1.555, allocations: 1.588 MB / 1.291 GB, free: 7.469 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/1.555, allocations: 4 kB / 1.291 GB, free: 7.465 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000576/1.556, allocations: 43.97 kB / 1.291 GB, free: 7.422 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.308e-05/1.556, allocations: 4 kB / 1.291 GB, free: 7.418 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.776e-05/1.556, allocations: 15.92 kB / 1.291 GB, free: 7.402 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.079e-05/1.556, allocations: 12.12 kB / 1.291 GB, free: 7.391 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/1.556, allocations: 4 kB / 1.291 GB, free: 7.387 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001977/1.558, allocations: 0.6949 MB / 1.292 GB, free: 6.609 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007695/1.559, allocations: 299.1 kB / 1.292 GB, free: 6.297 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002841/1.559, allocations: 11.98 kB / 1.292 GB, free: 6.285 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00167/1.561, allocations: 75.94 kB / 1.292 GB, free: 6.211 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.918e-05/1.561, allocations: 27.92 kB / 1.292 GB, free: 6.184 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.449e-05/1.561, allocations: 11.98 kB / 1.292 GB, free: 6.172 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.003352/1.564, allocations: 1.19 MB / 1.293 GB, free: 4.992 MB / 0.823 GB Notification: Performance of sort global known variables: time 3.9e-07/1.564, allocations: 8 kB / 1.294 GB, free: 4.984 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003135/1.567, allocations: 0.655 MB / 1.294 GB, free: 4.328 MB / 0.823 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.003423/1.571, allocations: 1.925 MB / 1.296 GB, free: 2.316 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.004473/1.575, allocations: 0.9471 MB / 1.297 GB, free: 1.375 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/1.575, allocations: 4.062 kB / 1.297 GB, free: 1.371 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007489/1.576, allocations: 127.8 kB / 1.297 GB, free: 1.246 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006412/1.583, allocations: 0.8056 MB / 1.298 GB, free: 460 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01331/1.596, allocations: 12.33 MB / 1.31 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001381/1.597, allocations: 1.322 MB / 1.311 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.00281/1.6, allocations: 346.1 kB / 1.312 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001427/1.602, allocations: 0.5968 MB / 1.312 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of SimCode: time 1.182e-06/1.602, allocations: 0 / 1.312 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1252/1.727, allocations: 41.32 MB / 1.352 GB, free: 8.414 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000301/1.727, allocations: 184.1 kB / 1.353 GB, free: 8.176 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.074/5.801, allocations: 0 / 1.353 GB, free: 8.176 MB / 0.8855 GB (rm -f Buildings_8.0.0_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.fmu > Buildings_8.0.0_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1)