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 2.043/2.043, allocations: 288.2 MB / 303.2 MB, free: 8.082 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.001795/0.001794, allocations: 191.5 kB / 371.8 MB, free: 10.29 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.734/1.734, allocations: 205.4 MB / 0.6305 GB, free: 10.05 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.0009743/0.0009743, allocations: 106.7 kB / 0.7439 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004204/0.0004205, allocations: 15.41 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2482, allocations: 115.3 MB / 0.9795 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.8009/1.049, allocations: 247.2 MB / 1.221 GB, free: 0.5547 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0361/1.085, allocations: 25 MB / 1.245 GB, free: 7.988 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00306/1.088, allocations: 63.56 kB / 1.245 GB, free: 7.926 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.004356/1.093, allocations: 1.03 MB / 1.246 GB, free: 6.891 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.01059/1.104, allocations: 2.869 MB / 1.249 GB, free: 4.016 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.01219/1.116, allocations: 2.849 MB / 1.252 GB, free: 1.191 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.008587/1.124, allocations: 2.558 MB / 1.254 GB, free: 14.63 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003306/1.128, allocations: 1.206 MB / 1.256 GB, free: 13.39 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004693/1.132, allocations: 1.53 MB / 1.257 GB, free: 11.86 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002162/1.135, allocations: 0.77 MB / 1.258 GB, free: 11.08 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0005788/1.135, allocations: 60 kB / 1.258 GB, free: 11.02 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005318/1.141, allocations: 1.435 MB / 1.259 GB, free: 9.586 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0009864/1.142, allocations: 430.6 kB / 1.26 GB, free: 9.164 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.001218/1.143, allocations: 424.8 kB / 1.26 GB, free: 8.742 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.005063/1.148, allocations: 2.879 MB / 1.263 GB, free: 5.855 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/1.148, allocations: 3.938 kB / 1.263 GB, free: 5.852 MB / 0.7917 GB Notification: Performance of FrontEnd: time 3.046e-06/1.148, allocations: 4 kB / 1.263 GB, free: 5.848 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0001258/1.148, allocations: 0 / 1.263 GB, free: 5.848 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.004859/1.153, allocations: 1.904 MB / 1.265 GB, free: 3.883 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/1.153, allocations: 12.02 kB / 1.265 GB, free: 3.871 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004948/1.154, allocations: 164.8 kB / 1.265 GB, free: 3.699 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003942/1.157, allocations: 0.6299 MB / 1.266 GB, free: 3.066 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00454/1.162, allocations: 1.84 MB / 1.267 GB, free: 1.172 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007274/1.163, allocations: 222 kB / 1.268 GB, free: 0.9531 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003739/1.163, allocations: 112 kB / 1.268 GB, free: 0.8438 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00403/1.167, allocations: 1.383 MB / 1.269 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.821e-05/1.167, allocations: 7.938 kB / 1.269 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002168/1.168, allocations: 48 kB / 1.269 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.4e-05/1.168, allocations: 41.98 kB / 1.269 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003021/1.171, allocations: 1.062 MB / 1.27 GB, free: 14.18 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.01289/1.184, allocations: 6.903 MB / 1.277 GB, free: 6.918 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001574/1.185, allocations: 367.2 kB / 1.277 GB, free: 6.551 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.349e-05/1.185, allocations: 11.98 kB / 1.277 GB, free: 6.539 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.762e-05/1.185, allocations: 34.91 kB / 1.277 GB, free: 6.496 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008216/1.186, allocations: 78.92 kB / 1.277 GB, free: 6.418 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=20): time 6.392e-06/1.186, allocations: 8 kB / 1.277 GB, free: 6.41 MB / 0.8073 GB Notification: Performance of matching and sorting (n=20): time 0.00199/1.188, allocations: 0.5346 MB / 1.278 GB, free: 5.867 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.422e-05/1.188, allocations: 63.28 kB / 1.278 GB, free: 5.793 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003442/1.192, allocations: 1.714 MB / 1.28 GB, free: 4.082 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0001219/1.192, allocations: 37.7 kB / 1.28 GB, free: 4.039 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008595/1.193, allocations: 0.8288 MB / 1.28 GB, free: 3.203 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/1.193, allocations: 75.08 kB / 1.281 GB, free: 3.129 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.57e-05/1.193, allocations: 16 kB / 1.281 GB, free: 3.113 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001318/1.193, allocations: 330 kB / 1.281 GB, free: 2.785 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008861/1.194, allocations: 289.8 kB / 1.281 GB, free: 2.504 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001127/1.195, allocations: 0.6739 MB / 1.282 GB, free: 1.641 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009999/1.196, allocations: 375.7 kB / 1.282 GB, free: 1.273 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.491e-05/1.196, allocations: 4 kB / 1.282 GB, free: 1.27 MB / 0.8073 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002711/1.199, allocations: 1.047 MB / 1.283 GB, free: 220 kB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.002261/1.201, allocations: 4.959 MB / 1.288 GB, free: 10.84 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.573e-05/1.201, allocations: 12 kB / 1.288 GB, free: 10.83 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.617e-05/1.201, allocations: 20 kB / 1.288 GB, free: 10.81 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008506/1.202, allocations: 203.7 kB / 1.288 GB, free: 10.61 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.138e-05/1.202, allocations: 27.88 kB / 1.288 GB, free: 10.58 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00184/1.204, allocations: 183.2 kB / 1.288 GB, free: 10.41 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/1.204, allocations: 47.98 kB / 1.289 GB, free: 10.36 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/1.204, allocations: 7.953 kB / 1.289 GB, free: 10.35 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00195/1.206, allocations: 0.8122 MB / 1.289 GB, free: 9.539 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.569e-05/1.206, allocations: 12.08 kB / 1.289 GB, free: 9.527 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/1.206, allocations: 16 kB / 1.289 GB, free: 9.512 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006985/1.207, allocations: 192 kB / 1.29 GB, free: 9.324 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-05/1.207, allocations: 23.92 kB / 1.29 GB, free: 9.301 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001401/1.208, allocations: 129.7 kB / 1.29 GB, free: 9.176 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.618e-05/1.208, allocations: 44 kB / 1.29 GB, free: 9.133 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.001036/1.21, allocations: 0.5224 MB / 1.29 GB, free: 8.602 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004155/1.21, allocations: 161.9 kB / 1.29 GB, free: 8.441 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001318/1.211, allocations: 432.9 kB / 1.291 GB, free: 8.008 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/1.211, allocations: 3.953 kB / 1.291 GB, free: 8.004 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/1.211, allocations: 0 / 1.291 GB, free: 8.004 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/1.211, allocations: 0 / 1.291 GB, free: 8.004 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.004189/1.216, allocations: 1.595 MB / 1.292 GB, free: 6.312 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/1.216, allocations: 0 / 1.292 GB, free: 6.312 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000331/1.216, allocations: 51.95 kB / 1.292 GB, free: 6.262 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.758e-06/1.216, allocations: 256 / 1.292 GB, free: 6.262 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.904e-05/1.216, allocations: 19.98 kB / 1.292 GB, free: 6.242 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.187e-06/1.216, allocations: 3.938 kB / 1.292 GB, free: 6.238 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/1.216, allocations: 4 kB / 1.292 GB, free: 6.234 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00147/1.217, allocations: 0.6958 MB / 1.293 GB, free: 5.453 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007982/1.218, allocations: 290.9 kB / 1.293 GB, free: 5.148 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003747/1.219, allocations: 8 kB / 1.293 GB, free: 5.141 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/1.22, allocations: 75.92 kB / 1.293 GB, free: 5.066 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.561e-05/1.22, allocations: 19.94 kB / 1.293 GB, free: 5.047 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.043e-05/1.22, allocations: 27.91 kB / 1.294 GB, free: 5.02 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.002895/1.223, allocations: 1.186 MB / 1.295 GB, free: 3.844 MB / 0.823 GB Notification: Performance of sort global known variables: time 3.1e-07/1.223, allocations: 0 / 1.295 GB, free: 3.844 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003569/1.226, allocations: 0.6667 MB / 1.295 GB, free: 3.176 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.003634/1.23, allocations: 1.936 MB / 1.297 GB, free: 1.156 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003994/1.234, allocations: 0.9389 MB / 1.298 GB, free: 228 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.937e-06/1.234, allocations: 0 / 1.298 GB, free: 228 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006017/1.235, allocations: 132.7 kB / 1.298 GB, free: 96 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006643/1.241, allocations: 0.813 MB / 1.299 GB, free: 15.29 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01786/1.259, allocations: 12.33 MB / 1.311 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001553/1.261, allocations: 1.318 MB / 1.312 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.00309/1.264, allocations: 346 kB / 1.313 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001423/1.265, allocations: 0.5891 MB / 1.313 GB, free: 236 kB / 0.8386 GB Notification: Performance of SimCode: time 1.683e-06/1.265, allocations: 0 / 1.313 GB, free: 236 kB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1246/1.39, allocations: 41.36 MB / 1.354 GB, free: 7.219 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002903/1.39, allocations: 194.9 kB / 1.354 GB, free: 6.98 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.211/4.601, allocations: 4 kB / 1.354 GB, free: 6.977 MB / 0.8855 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)