Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.HeaterFan.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,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FMI_Validation_HeaterFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.509/1.509, allocations: 251.9 MB / 266.9 MB, free: 11.07 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.001086/0.001086, allocations: 187.1 kB / 326.5 MB, free: 2.273 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.761/1.761, allocations: 205.4 MB / 0.5775 GB, free: 20.31 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.001013/0.001013, allocations: 92.61 kB / 0.6821 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003962/0.0003967, allocations: 8.906 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2471, allocations: 106.3 MB / 0.9001 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 0.8769/1.124, allocations: 253.7 MB / 1.148 GB, free: 2.457 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.03962/1.164, allocations: 26.64 MB / 1.174 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003867/1.168, allocations: 63.34 kB / 1.174 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.004707/1.172, allocations: 1.05 MB / 1.175 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.01373/1.186, allocations: 2.909 MB / 1.178 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.01252/1.199, allocations: 2.892 MB / 1.181 GB, free: 8.504 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.008118/1.207, allocations: 2.839 MB / 1.183 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002902/1.21, allocations: 1.405 MB / 1.185 GB, free: 5.961 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004935/1.215, allocations: 1.548 MB / 1.186 GB, free: 5.246 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002517/1.217, allocations: 0.9101 MB / 1.187 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0003047/1.218, allocations: 65.97 kB / 1.187 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004631/1.222, allocations: 1.554 MB / 1.189 GB, free: 4.234 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0006682/1.223, allocations: 448.8 kB / 1.189 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.001034/1.224, allocations: 465.8 kB / 1.19 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.005235/1.229, allocations: 3.165 MB / 1.193 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/1.229, allocations: 0 / 1.193 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.544e-06/1.229, allocations: 0 / 1.193 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.374e-05/1.23, allocations: 0 / 1.193 GB, free: 1.562 MB / 0.7136 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.004732/1.234, allocations: 2.046 MB / 1.195 GB, free: 24 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/1.234, allocations: 9.594 kB / 1.195 GB, free: 24 kB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004161/1.235, allocations: 193 kB / 1.195 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00521/1.24, allocations: 0.8392 MB / 1.196 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004694/1.245, allocations: 1.912 MB / 1.198 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006761/1.245, allocations: 234.4 kB / 1.198 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002848/1.246, allocations: 136 kB / 1.198 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003755/1.249, allocations: 1.655 MB / 1.2 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.867e-05/1.25, allocations: 0 / 1.2 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001313/1.25, allocations: 59.92 kB / 1.2 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6e-05/1.25, allocations: 50.5 kB / 1.2 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003735/1.253, allocations: 1.497 MB / 1.201 GB, free: 9.543 MB / 0.7292 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.01244/1.266, allocations: 7.397 MB / 1.208 GB, free: 1.715 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002821/1.269, allocations: 0.7324 MB / 1.209 GB, free: 0.9766 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 8.422e-05/1.269, allocations: 12.61 kB / 1.209 GB, free: 0.9648 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/1.269, allocations: 38.56 kB / 1.209 GB, free: 0.918 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009138/1.27, allocations: 87.42 kB / 1.209 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=37): time 3.196e-06/1.27, allocations: 0 / 1.209 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of matching and sorting (n=37): time 0.003202/1.273, allocations: 1.323 MB / 1.211 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/1.273, allocations: 59.39 kB / 1.211 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003009/1.276, allocations: 1.843 MB / 1.212 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.864e-05/1.276, allocations: 33.7 kB / 1.212 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007481/1.277, allocations: 0.8191 MB / 1.213 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001686/1.277, allocations: 130.1 kB / 1.213 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.493e-05/1.277, allocations: 12 kB / 1.213 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000146/1.277, allocations: 334 kB / 1.214 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001236/1.279, allocations: 417 kB / 1.214 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001408/1.28, allocations: 0.653 MB / 1.215 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001256/1.281, allocations: 455.2 kB / 1.215 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/1.281, allocations: 4 kB / 1.215 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003499/1.285, allocations: 1.396 MB / 1.217 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.001061/1.286, allocations: 2.566 MB / 1.219 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/1.286, allocations: 4 kB / 1.219 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002348/1.286, allocations: 61.69 kB / 1.219 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/1.287, allocations: 225.4 kB / 1.219 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002312/1.29, allocations: 2.82 MB / 1.222 GB, free: 3.023 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002547/1.292, allocations: 284.4 kB / 1.222 GB, free: 2.746 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.713e-05/1.292, allocations: 31.98 kB / 1.222 GB, free: 2.715 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/1.292, allocations: 4 kB / 1.222 GB, free: 2.711 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002756/1.295, allocations: 1.161 MB / 1.223 GB, free: 1.547 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/1.295, allocations: 8 kB / 1.223 GB, free: 1.539 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001367/1.295, allocations: 60.31 kB / 1.224 GB, free: 1.477 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/1.296, allocations: 204.2 kB / 1.224 GB, free: 1.285 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00203/1.298, allocations: 2.818 MB / 1.227 GB, free: 14.22 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002119/1.301, allocations: 212.5 kB / 1.227 GB, free: 14.01 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.614e-05/1.301, allocations: 35.98 kB / 1.227 GB, free: 13.98 MB / 0.7605 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.00131/1.302, allocations: 0.5211 MB / 1.227 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004266/1.302, allocations: 165.9 kB / 1.227 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002372/1.305, allocations: 0.942 MB / 1.228 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/1.305, allocations: 4 kB / 1.228 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/1.305, allocations: 7.984 kB / 1.228 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.515e-06/1.305, allocations: 0 / 1.228 GB, free: 12.29 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.004568/1.309, allocations: 2.23 MB / 1.231 GB, free: 9.934 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.78e-06/1.309, allocations: 0 / 1.231 GB, free: 9.934 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000627/1.31, allocations: 103.9 kB / 1.231 GB, free: 9.832 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001753/1.31, allocations: 49.78 kB / 1.231 GB, free: 9.777 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.417e-05/1.31, allocations: 15.98 kB / 1.231 GB, free: 9.762 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002266/1.313, allocations: 2.825 MB / 1.233 GB, free: 6.664 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/1.313, allocations: 4.031 kB / 1.233 GB, free: 6.66 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002084/1.315, allocations: 1.067 MB / 1.234 GB, free: 5.48 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008682/1.316, allocations: 334.8 kB / 1.235 GB, free: 5.133 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001809/1.316, allocations: 4 kB / 1.235 GB, free: 5.129 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/1.317, allocations: 139.8 kB / 1.235 GB, free: 4.992 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.659e-05/1.317, allocations: 31.84 kB / 1.235 GB, free: 4.961 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.78e-05/1.317, allocations: 19.97 kB / 1.235 GB, free: 4.941 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.002476/1.32, allocations: 1.313 MB / 1.236 GB, free: 3.605 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.8e-07/1.32, allocations: 3.938 kB / 1.236 GB, free: 3.602 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.00259/1.322, allocations: 0.7562 MB / 1.237 GB, free: 2.844 MB / 0.7605 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.003045/1.325, allocations: 2.03 MB / 1.239 GB, free: 0.7148 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.004194/1.329, allocations: 1.723 MB / 1.241 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/1.33, allocations: 5.125 kB / 1.241 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0009732/1.33, allocations: 0.5089 MB / 1.241 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005026/1.336, allocations: 0.9664 MB / 1.242 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009716/1.345, allocations: 8.592 MB / 1.251 GB, free: 4.488 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001032/1.346, allocations: 1.375 MB / 1.252 GB, free: 3.086 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.002381/1.349, allocations: 374.9 kB / 1.252 GB, free: 2.715 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001069/1.35, allocations: 0.6516 MB / 1.253 GB, free: 2.062 MB / 0.7761 GB Notification: Performance of SimCode: time 2.094e-06/1.35, allocations: 0 / 1.253 GB, free: 2.062 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09438/1.444, allocations: 47.78 MB / 1.3 GB, free: 2.664 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002137/1.445, allocations: 203.4 kB / 1.3 GB, free: 2.422 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.427/4.872, allocations: 0 / 1.3 GB, free: 2.422 MB / 0.823 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.HeaterFan.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.HeaterFan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FMI_Validation_HeaterFan_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FMI_Validation_HeaterFan.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.HeaterFan.pipe 2>&1)