Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Comfort.Examples.Fanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_8_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_8_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.881/1.881, allocations: 289.7 MB / 302.2 MB, free: 2.148 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.00124/0.00124, allocations: 182.4 kB / 371.6 MB, free: 3.426 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.034/2.034, allocations: 205.1 MB / 0.6309 GB, free: 11.74 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001014/0.001014, allocations: 89.81 kB / 0.745 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 6.979e-05/6.981e-05, allocations: 4 kB / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2955, allocations: 116.3 MB / 0.9799 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.473/6.769, allocations: 2.073 GB / 3.053 GB, free: 122 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002995/6.769, allocations: 82.03 kB / 3.053 GB, free: 122 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1094/6.879, allocations: 52.46 MB / 3.104 GB, free: 76.66 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.475e-06/6.879, allocations: 0 / 3.104 GB, free: 76.66 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.293e-05/6.879, allocations: 8 kB / 3.104 GB, free: 76.65 MB / 0.948 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.001538/6.88, allocations: 0.6417 MB / 3.105 GB, free: 75.97 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.305e-05/6.88, allocations: 12.03 kB / 3.105 GB, free: 75.96 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001351/6.88, allocations: 62.53 kB / 3.105 GB, free: 75.89 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002675/6.883, allocations: 243.4 kB / 3.105 GB, free: 75.65 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000633/6.884, allocations: 303.5 kB / 3.105 GB, free: 75.31 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.949e-05/6.884, allocations: 24.56 kB / 3.105 GB, free: 75.29 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.457e-05/6.884, allocations: 24 kB / 3.105 GB, free: 75.26 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007082/6.885, allocations: 356.6 kB / 3.106 GB, free: 74.91 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/6.885, allocations: 0 / 3.106 GB, free: 74.91 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.192e-05/6.885, allocations: 15.98 kB / 3.106 GB, free: 74.89 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-06/6.885, allocations: 7.938 kB / 3.106 GB, free: 74.88 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008203/6.886, allocations: 386.1 kB / 3.106 GB, free: 74.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003132/6.889, allocations: 1.143 MB / 3.107 GB, free: 73.33 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000798/6.89, allocations: 326.5 kB / 3.107 GB, free: 73 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002941/6.89, allocations: 157.2 kB / 3.108 GB, free: 72.84 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.528e-05/6.89, allocations: 12.31 kB / 3.108 GB, free: 72.83 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/6.89, allocations: 38.56 kB / 3.108 GB, free: 72.79 MB / 0.948 GB Notification: Performance of pre-optimization done (n=25): time 2.435e-06/6.89, allocations: 0 / 3.108 GB, free: 72.79 MB / 0.948 GB Notification: Performance of matching and sorting (n=25): time 0.004779/6.895, allocations: 0.6546 MB / 3.108 GB, free: 72.12 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/6.895, allocations: 55.41 kB / 3.108 GB, free: 72.05 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003356/6.895, allocations: 266.8 kB / 3.109 GB, free: 71.78 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.073e-05/6.895, allocations: 29.7 kB / 3.109 GB, free: 71.75 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/6.895, allocations: 172.2 kB / 3.109 GB, free: 71.57 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.375e-05/6.896, allocations: 90.73 kB / 3.109 GB, free: 71.48 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.352e-05/6.896, allocations: 4 kB / 3.109 GB, free: 71.48 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001557/6.896, allocations: 342.8 kB / 3.109 GB, free: 71.14 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002534/6.896, allocations: 128.5 kB / 3.109 GB, free: 71.01 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003088/6.896, allocations: 191 kB / 3.11 GB, free: 70.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002797/6.897, allocations: 147.8 kB / 3.11 GB, free: 70.66 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.257e-06/6.897, allocations: 0 / 3.11 GB, free: 70.66 MB / 0.948 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.004692/6.901, allocations: 0.6976 MB / 3.11 GB, free: 69.95 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.703e-05/6.901, allocations: 9.562 kB / 3.11 GB, free: 69.94 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/6.901, allocations: 0 / 3.11 GB, free: 69.94 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006694/6.902, allocations: 169.5 kB / 3.111 GB, free: 69.77 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004812/6.903, allocations: 67.94 kB / 3.111 GB, free: 69.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007217/6.91, allocations: 3.297 MB / 3.114 GB, free: 66.14 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009127/6.911, allocations: 83.56 kB / 3.114 GB, free: 66.06 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.78e-05/6.911, allocations: 15.97 kB / 3.114 GB, free: 66.04 MB / 0.948 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 () * 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.0001908/6.911, allocations: 116.9 kB / 3.114 GB, free: 65.92 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/6.911, allocations: 39.58 kB / 3.114 GB, free: 65.88 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004943/6.916, allocations: 0.7529 MB / 3.115 GB, free: 65.11 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/6.916, allocations: 4 kB / 3.115 GB, free: 65.11 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/6.916, allocations: 0 / 3.115 GB, free: 65.11 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/6.916, allocations: 4 kB / 3.115 GB, free: 65.11 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006567/6.917, allocations: 433 kB / 3.115 GB, free: 64.63 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/6.917, allocations: 0 / 3.115 GB, free: 64.63 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003977/6.917, allocations: 51.95 kB / 3.115 GB, free: 64.58 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006039/6.918, allocations: 177.5 kB / 3.115 GB, free: 64.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.373e-05/6.918, allocations: 15.97 kB / 3.115 GB, free: 64.39 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006647/6.925, allocations: 3.294 MB / 3.119 GB, free: 60.83 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/6.925, allocations: 0 / 3.119 GB, free: 60.83 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004402/6.929, allocations: 0.7621 MB / 3.119 GB, free: 60.05 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001529/6.929, allocations: 116.6 kB / 3.119 GB, free: 59.91 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.522e-05/6.929, allocations: 4 kB / 3.119 GB, free: 59.91 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008359/6.93, allocations: 51.94 kB / 3.12 GB, free: 59.86 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/6.93, allocations: 15.98 kB / 3.12 GB, free: 59.84 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.473e-05/6.93, allocations: 19.97 kB / 3.12 GB, free: 59.82 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002734/6.931, allocations: 222.2 kB / 3.12 GB, free: 59.61 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.2e-07/6.931, allocations: 3.938 kB / 3.12 GB, free: 59.61 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0009447/6.932, allocations: 156 kB / 3.12 GB, free: 59.45 MB / 0.948 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 () * 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.005643/6.937, allocations: 1.803 MB / 3.122 GB, free: 57.62 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001372/6.939, allocations: 0.5798 MB / 3.122 GB, free: 57.01 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/6.939, allocations: 4 kB / 3.122 GB, free: 57.01 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006972/6.939, allocations: 441.2 kB / 3.123 GB, free: 56.55 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000639/6.94, allocations: 94.61 kB / 3.123 GB, free: 56.46 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002018/6.942, allocations: 0.5299 MB / 3.123 GB, free: 55.89 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/6.942, allocations: 0.7809 MB / 3.124 GB, free: 55.08 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0005514/6.943, allocations: 78.86 kB / 3.124 GB, free: 55.01 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002149/6.943, allocations: 99.39 kB / 3.124 GB, free: 54.91 MB / 0.948 GB Notification: Performance of SimCode: time 1.022e-06/6.943, allocations: 7.938 kB / 3.124 GB, free: 54.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05685/7, allocations: 27.09 MB / 3.151 GB, free: 27.96 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00019/7, allocations: 175.5 kB / 3.151 GB, free: 27.74 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.27/10.27, allocations: 0 / 3.151 GB, free: 27.74 MB / 0.948 GB (rm -f Buildings_8_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_8_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_8_Buildings.Utilities.Comfort.Examples.Fanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Comfort_Examples_Fanger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Comfort_Examples_Fanger.fmu > Buildings_8_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1)