Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger.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.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Comfort_Examples_Fanger",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.337/1.337, 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.0009961/0.0009962, allocations: 177.1 kB / 326.5 MB, free: 2.262 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.671/1.671, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.0008655/0.0008656, allocations: 84.77 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003207/0.0003207, allocations: 5.969 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2292, allocations: 106.3 MB / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002187/0.2315, allocations: 1.87 MB / 0.902 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.145/0.3765, allocations: 128.4 MB / 1.027 GB, free: 13.29 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001792/0.3767, allocations: 0 / 1.027 GB, free: 13.29 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001529/0.3769, allocations: 19.78 kB / 1.027 GB, free: 13.27 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0003377/0.3772, allocations: 115.7 kB / 1.027 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006862/0.3779, allocations: 243.4 kB / 1.028 GB, free: 12.92 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0003231/0.3782, allocations: 264.7 kB / 1.028 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001783/0.3784, allocations: 82.11 kB / 1.028 GB, free: 12.58 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003176/0.3788, allocations: 171.5 kB / 1.028 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000232/0.379, allocations: 159.4 kB / 1.028 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 3.593e-05/0.379, allocations: 16 kB / 1.028 GB, free: 12.24 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004779/0.3795, allocations: 267.5 kB / 1.029 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 6.283e-05/0.3796, allocations: 51.81 kB / 1.029 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 7.203e-05/0.3797, allocations: 77.52 kB / 1.029 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0004043/0.3801, allocations: 343.4 kB / 1.029 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.3801, allocations: 0 / 1.029 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3801, allocations: 0 / 1.029 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.3801, allocations: 0 / 1.029 GB, free: 11.51 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001346/0.3815, allocations: 0.6588 MB / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.3815, allocations: 15.97 kB / 1.03 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.171e-05/0.3816, allocations: 58.55 kB / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002632/0.3843, allocations: 251.3 kB / 1.03 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003995/0.3847, allocations: 299.3 kB / 1.03 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.3847, allocations: 16.56 kB / 1.03 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.16e-05/0.3848, allocations: 28 kB / 1.03 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001374/0.3861, allocations: 428.5 kB / 1.031 GB, free: 9.668 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.3862, allocations: 7.953 kB / 1.031 GB, free: 9.66 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.467e-05/0.3862, allocations: 8 kB / 1.031 GB, free: 9.652 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.3862, allocations: 8 kB / 1.031 GB, free: 9.645 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002254/0.3885, allocations: 0.5369 MB / 1.031 GB, free: 9.109 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002945/0.3914, allocations: 1.136 MB / 1.032 GB, free: 7.922 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002277/0.3937, allocations: 468.4 kB / 1.033 GB, free: 7.457 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.423e-05/0.3938, allocations: 8.422 kB / 1.033 GB, free: 7.449 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.3938, allocations: 38.56 kB / 1.033 GB, free: 7.402 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=25): time 1.924e-06/0.3938, allocations: 0 / 1.033 GB, free: 7.402 MB / 0.6823 GB Notification: Performance of matching and sorting (n=25): time 0.0156/0.4095, allocations: 1.71 MB / 1.035 GB, free: 5.645 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.4095, allocations: 55.36 kB / 1.035 GB, free: 5.578 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003366/0.4099, allocations: 308.5 kB / 1.035 GB, free: 5.27 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.911e-05/0.4099, allocations: 29.7 kB / 1.035 GB, free: 5.234 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.4101, allocations: 168.2 kB / 1.035 GB, free: 5.066 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.024e-05/0.4102, allocations: 94.67 kB / 1.035 GB, free: 4.973 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.195e-05/0.4102, allocations: 8 kB / 1.035 GB, free: 4.965 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.4103, allocations: 338.8 kB / 1.036 GB, free: 4.625 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009989/0.4113, allocations: 208.4 kB / 1.036 GB, free: 4.422 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001032/0.4124, allocations: 255 kB / 1.036 GB, free: 4.152 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/0.4134, allocations: 215.9 kB / 1.036 GB, free: 3.941 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.4134, allocations: 0 / 1.036 GB, free: 3.941 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00687/0.4203, allocations: 0.8893 MB / 1.037 GB, free: 3.039 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.4203, allocations: 7.953 kB / 1.037 GB, free: 3.031 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.4204, allocations: 0 / 1.037 GB, free: 3.031 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001878/0.4222, allocations: 285.4 kB / 1.037 GB, free: 2.746 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004862/0.4227, allocations: 71.89 kB / 1.037 GB, free: 2.676 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01394/0.4367, allocations: 3.875 MB / 1.041 GB, free: 14.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008613/0.4376, allocations: 71.67 kB / 1.041 GB, free: 14.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.782e-05/0.4377, allocations: 19.97 kB / 1.041 GB, free: 14.45 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (31): * Single equations (assignments): 29 * 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: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002088/0.4379, allocations: 133.8 kB / 1.041 GB, free: 14.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.342e-05/0.438, allocations: 35.58 kB / 1.041 GB, free: 14.27 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007117/0.4451, allocations: 0.9411 MB / 1.042 GB, free: 13.32 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.4451, allocations: 4 kB / 1.042 GB, free: 13.32 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.4451, allocations: 0 / 1.042 GB, free: 13.32 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.4451, allocations: 7.969 kB / 1.042 GB, free: 13.31 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005656/0.4457, allocations: 432.6 kB / 1.043 GB, free: 12.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.4457, allocations: 4 kB / 1.043 GB, free: 12.83 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003848/0.4461, allocations: 59.89 kB / 1.043 GB, free: 12.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001753/0.4479, allocations: 273.4 kB / 1.043 GB, free: 12.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.646e-05/0.4479, allocations: 15.97 kB / 1.043 GB, free: 12.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01394/0.4619, allocations: 3.864 MB / 1.047 GB, free: 8.348 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.4619, allocations: 0 / 1.047 GB, free: 8.348 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006966/0.4689, allocations: 0.9559 MB / 1.048 GB, free: 7.371 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001423/0.4691, allocations: 120.5 kB / 1.048 GB, free: 7.234 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.698e-05/0.4691, allocations: 11.94 kB / 1.048 GB, free: 7.223 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007144/0.4699, allocations: 43.95 kB / 1.048 GB, free: 7.18 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.018e-05/0.47, allocations: 19.97 kB / 1.048 GB, free: 7.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.399e-05/0.47, allocations: 19.97 kB / 1.048 GB, free: 7.141 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002376/0.4702, allocations: 219.1 kB / 1.048 GB, free: 6.926 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.41e-07/0.4703, allocations: 0 / 1.048 GB, free: 6.926 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005942/0.4709, allocations: 112 kB / 1.048 GB, free: 6.816 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (25): * Single equations (assignments): 23 * 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: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.007271/0.4781, allocations: 1.522 MB / 1.05 GB, free: 5.262 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00268/0.4808, allocations: 0.7235 MB / 1.051 GB, free: 4.512 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.4809, allocations: 0 / 1.051 GB, free: 4.512 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001478/0.4823, allocations: 0.5089 MB / 1.051 GB, free: 3.977 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005752/0.4829, allocations: 89.36 kB / 1.051 GB, free: 3.891 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01123/0.4942, allocations: 2.924 MB / 1.054 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.4945, allocations: 0.7841 MB / 1.055 GB, free: 96 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004966/0.495, allocations: 70.89 kB / 1.055 GB, free: 20 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3546/0.8497, allocations: 101.8 kB / 1.055 GB, free: 154 MB / 0.698 GB Notification: Performance of SimCode: time 1.573e-06/0.8497, allocations: 0 / 1.055 GB, free: 154 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03115/0.8809, allocations: 15.68 MB / 1.07 GB, free: 150 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001386/0.881, allocations: 216.2 kB / 1.07 GB, free: 149.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.195/3.076, allocations: 0 / 1.07 GB, free: 149.8 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Comfort_Examples_Fanger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Comfort_Examples_Fanger.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1)