Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.502/1.502, allocations: 252 MB / 267 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009937/0.0009936, allocations: 175.1 kB / 326.6 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.917/1.917, allocations: 205.4 MB / 0.5777 GB, free: 20.22 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009797/0.0009793, allocations: 90.31 kB / 0.6823 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003421/0.0003421, allocations: 9.5 kB / 0.7964 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.252, allocations: 106.3 MB / 0.9003 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.8156/1.068, allocations: 278.9 MB / 1.173 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.03631/1.104, allocations: 26.44 MB / 1.199 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004/1.108, allocations: 70.53 kB / 1.199 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.004103/1.112, allocations: 0.8693 MB / 1.199 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.008403/1.121, allocations: 2.163 MB / 1.202 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.006906/1.128, allocations: 1.742 MB / 1.203 GB, free: 9.68 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.007706/1.135, allocations: 4.78 MB / 1.208 GB, free: 6.863 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002519/1.138, allocations: 1.184 MB / 1.209 GB, free: 6.141 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0047/1.143, allocations: 1.629 MB / 1.211 GB, free: 4.547 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0027/1.145, allocations: 1.179 MB / 1.212 GB, free: 3.363 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0003842/1.146, allocations: 64 kB / 1.212 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004884/1.151, allocations: 1.649 MB / 1.213 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0007804/1.151, allocations: 474.3 kB / 1.214 GB, free: 1.184 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.000891/1.152, allocations: 424.8 kB / 1.214 GB, free: 0.7617 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.004702/1.157, allocations: 3.032 MB / 1.217 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/1.157, allocations: 4 kB / 1.217 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.267e-06/1.157, allocations: 4 kB / 1.217 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.464e-05/1.157, allocations: 0 / 1.217 GB, free: 13.71 MB / 0.7448 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.004166/1.161, allocations: 1.95 MB / 1.219 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.771e-05/1.161, allocations: 12.03 kB / 1.219 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003333/1.162, allocations: 160.8 kB / 1.219 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003492/1.165, allocations: 0.6025 MB / 1.22 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003777/1.169, allocations: 1.84 MB / 1.222 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006965/1.17, allocations: 226 kB / 1.222 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002097/1.17, allocations: 119.9 kB / 1.222 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002945/1.173, allocations: 1.391 MB / 1.223 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.522e-05/1.173, allocations: 3.938 kB / 1.223 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001167/1.173, allocations: 48 kB / 1.223 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.822e-05/1.173, allocations: 41.95 kB / 1.224 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002647/1.176, allocations: 1.065 MB / 1.225 GB, free: 6.02 MB / 0.7448 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.01019/1.186, allocations: 6.997 MB / 1.231 GB, free: 14.63 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001557/1.188, allocations: 366.6 kB / 1.232 GB, free: 14.27 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000351/1.188, allocations: 124.7 kB / 1.232 GB, free: 14.14 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002995/1.188, allocations: 198.2 kB / 1.232 GB, free: 13.91 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/1.188, allocations: 38.56 kB / 1.232 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006253/1.189, allocations: 71.11 kB / 1.232 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=20): time 2.635e-06/1.189, allocations: 0 / 1.232 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of matching and sorting (n=20): time 0.00148/1.19, allocations: 0.5248 MB / 1.233 GB, free: 13.26 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/1.191, allocations: 51.41 kB / 1.233 GB, free: 13.2 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00278/1.193, allocations: 1.73 MB / 1.234 GB, free: 11.47 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 6.916e-05/1.193, allocations: 33.7 kB / 1.234 GB, free: 11.43 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007182/1.194, allocations: 0.8289 MB / 1.235 GB, free: 10.6 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 7.47e-05/1.194, allocations: 78.98 kB / 1.235 GB, free: 10.52 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.453e-05/1.194, allocations: 12 kB / 1.235 GB, free: 10.51 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001275/1.194, allocations: 337.9 kB / 1.236 GB, free: 10.17 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007978/1.195, allocations: 281.8 kB / 1.236 GB, free: 9.895 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001023/1.196, allocations: 0.6731 MB / 1.237 GB, free: 9.027 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008558/1.197, allocations: 363.7 kB / 1.237 GB, free: 8.672 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/1.197, allocations: 7.938 kB / 1.237 GB, free: 8.664 MB / 0.7605 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002272/1.199, allocations: 1.032 MB / 1.238 GB, free: 7.625 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003004/1.2, allocations: 453.9 kB / 1.238 GB, free: 7.012 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/1.2, allocations: 15.94 kB / 1.238 GB, free: 6.996 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.581e-05/1.2, allocations: 16 kB / 1.238 GB, free: 6.98 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007859/1.201, allocations: 203.6 kB / 1.239 GB, free: 6.781 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.263e-05/1.201, allocations: 23.92 kB / 1.239 GB, free: 6.758 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001452/1.202, allocations: 182.6 kB / 1.239 GB, free: 6.582 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.181e-05/1.202, allocations: 43.98 kB / 1.239 GB, free: 6.539 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 9.507e-06/1.202, allocations: 6.812 kB / 1.239 GB, free: 6.535 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001623/1.204, allocations: 0.8 MB / 1.24 GB, free: 5.734 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/1.204, allocations: 12.88 kB / 1.24 GB, free: 5.723 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/1.204, allocations: 20 kB / 1.24 GB, free: 5.703 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00064/1.205, allocations: 187.7 kB / 1.24 GB, free: 5.52 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.85e-05/1.205, allocations: 23.88 kB / 1.24 GB, free: 5.496 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/1.206, allocations: 136.4 kB / 1.24 GB, free: 5.363 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-05/1.206, allocations: 40 kB / 1.24 GB, free: 5.324 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * 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.0009563/1.207, allocations: 0.524 MB / 1.241 GB, free: 4.789 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002317/1.207, allocations: 154 kB / 1.241 GB, free: 4.637 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001097/1.208, allocations: 428.9 kB / 1.241 GB, free: 4.207 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/1.208, allocations: 4 kB / 1.241 GB, free: 4.203 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/1.208, allocations: 0 / 1.241 GB, free: 4.203 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/1.208, allocations: 0 / 1.241 GB, free: 4.203 MB / 0.7605 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.002726/1.211, allocations: 1.529 MB / 1.243 GB, free: 2.59 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/1.211, allocations: 4.25 kB / 1.243 GB, free: 2.586 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003457/1.211, allocations: 51.97 kB / 1.243 GB, free: 2.535 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/1.211, allocations: 4 kB / 1.243 GB, free: 2.531 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.496e-05/1.211, allocations: 7.984 kB / 1.243 GB, free: 2.523 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.732e-06/1.211, allocations: 7.938 kB / 1.243 GB, free: 2.516 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/1.211, allocations: 4 kB / 1.243 GB, free: 2.512 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009929/1.212, allocations: 0.5686 MB / 1.243 GB, free: 1.902 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004482/1.213, allocations: 287 kB / 1.244 GB, free: 1.602 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001467/1.213, allocations: 8 kB / 1.244 GB, free: 1.594 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008583/1.214, allocations: 79.92 kB / 1.244 GB, free: 1.516 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.319e-05/1.214, allocations: 23.94 kB / 1.244 GB, free: 1.492 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.666e-05/1.214, allocations: 11.98 kB / 1.244 GB, free: 1.48 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001925/1.216, allocations: 1.19 MB / 1.245 GB, free: 308 kB / 0.7605 GB Notification: Performance of sort global known variables: time 2.6e-07/1.216, allocations: 0 / 1.245 GB, free: 308 kB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001851/1.218, allocations: 0.6551 MB / 1.245 GB, free: 15.64 MB / 0.7761 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.00176/1.219, allocations: 1.312 MB / 1.247 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002402/1.222, allocations: 0.9341 MB / 1.248 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/1.222, allocations: 4 kB / 1.248 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0003543/1.222, allocations: 133.8 kB / 1.248 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003894/1.226, allocations: 0.805 MB / 1.249 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0233/1.249, allocations: 9.235 MB / 1.258 GB, free: 2.578 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001124/1.251, allocations: 1.287 MB / 1.259 GB, free: 1.262 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.002162/1.253, allocations: 346.1 kB / 1.259 GB, free: 0.918 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000857/1.254, allocations: 0.5969 MB / 1.26 GB, free: 332 kB / 0.7761 GB Notification: Performance of SimCode: time 1.312e-06/1.254, allocations: 0 / 1.26 GB, free: 332 kB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07836/1.332, allocations: 42.37 MB / 1.301 GB, free: 6.34 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001856/1.332, allocations: 200 kB / 1.301 GB, free: 6.102 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.359/4.691, allocations: 8.062 kB / 1.301 GB, free: 6.094 MB / 0.823 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1)