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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008691/0.0008692, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009095/0.0009097, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.693/1.693, allocations: 205.4 MB / 222.1 MB, free: 5.359 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.887/1.887, allocations: 292.7 MB / 0.5499 GB, free: 14.56 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005308/0.0005308, allocations: 13.72 kB / 0.6738 GB, free: 26.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.296, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002534/0.2985, allocations: 1.932 MB / 0.7893 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.7872/1.086, allocations: 138.1 MB / 0.9241 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002986/1.086, allocations: 4.938 kB / 0.9241 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001973/1.086, allocations: 32.03 kB / 0.9242 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003752/1.087, allocations: 87.97 kB / 0.9243 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009957/1.088, allocations: 239 kB / 0.9245 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004507/1.088, allocations: 373.4 kB / 0.9248 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001908/1.088, allocations: 79.8 kB / 0.9249 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004459/1.089, allocations: 205.6 kB / 0.9251 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002613/1.089, allocations: 159.4 kB / 0.9253 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.706e-05/1.089, allocations: 11.47 kB / 0.9253 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006166/1.09, allocations: 255.2 kB / 0.9255 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.518e-05/1.09, allocations: 58.5 kB / 0.9256 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003773/1.09, allocations: 75.95 kB / 0.9257 GB, free: 21.77 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004819/1.091, allocations: 330.8 kB / 0.926 GB, free: 21.74 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/1.091, allocations: 0.5156 kB / 0.926 GB, free: 21.74 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.174e-06/1.091, allocations: 2.734 kB / 0.926 GB, free: 21.74 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.921e-06/1.091, allocations: 0 / 0.926 GB, free: 21.74 MB / 0.7325 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.001418/1.092, allocations: 0.6614 MB / 0.9266 GB, free: 21.27 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/1.092, allocations: 17.64 kB / 0.9266 GB, free: 21.26 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.673e-05/1.092, allocations: 62.92 kB / 0.9267 GB, free: 21.22 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002571/1.095, allocations: 259.5 kB / 0.9269 GB, free: 21.18 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004593/1.095, allocations: 288 kB / 0.9272 GB, free: 20.97 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/1.095, allocations: 19.94 kB / 0.9272 GB, free: 20.97 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.75e-05/1.096, allocations: 30.19 kB / 0.9273 GB, free: 20.97 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/1.097, allocations: 428.8 kB / 0.9277 GB, free: 20.92 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/1.097, allocations: 2.625 kB / 0.9277 GB, free: 20.92 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.394e-05/1.097, allocations: 12.67 kB / 0.9277 GB, free: 20.92 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/1.097, allocations: 7.875 kB / 0.9277 GB, free: 20.92 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002014/1.099, allocations: 0.5349 MB / 0.9282 GB, free: 20.9 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002893/1.102, allocations: 1.144 MB / 0.9293 GB, free: 20.54 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002021/1.104, allocations: 456.1 kB / 0.9298 GB, free: 20.5 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009328/1.105, allocations: 235 kB / 0.93 GB, free: 20.49 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.839e-05/1.105, allocations: 11.95 kB / 0.93 GB, free: 20.49 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/1.105, allocations: 37.55 kB / 0.93 GB, free: 20.45 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=25): time 2.475e-06/1.105, allocations: 0 / 0.93 GB, free: 20.45 MB / 0.7325 GB Notification: Performance of matching and sorting (n=25): time 0.01326/1.118, allocations: 1.714 MB / 0.9317 GB, free: 20.1 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/1.118, allocations: 54 kB / 0.9318 GB, free: 20.04 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003788/1.119, allocations: 312.1 kB / 0.9321 GB, free: 19.91 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.577e-05/1.119, allocations: 28.64 kB / 0.9321 GB, free: 19.88 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/1.119, allocations: 170.3 kB / 0.9323 GB, free: 19.78 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.495e-05/1.119, allocations: 88.41 kB / 0.9323 GB, free: 19.73 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.212e-05/1.119, allocations: 6.25 kB / 0.9323 GB, free: 19.73 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001227/1.119, allocations: 343.2 kB / 0.9327 GB, free: 19.41 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008636/1.12, allocations: 201.8 kB / 0.9329 GB, free: 19.41 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008824/1.121, allocations: 269.6 kB / 0.9331 GB, free: 19.34 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00089/1.122, allocations: 208.2 kB / 0.9333 GB, free: 19.33 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/1.122, allocations: 0 / 0.9333 GB, free: 19.33 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.005842/1.128, allocations: 0.8844 MB / 0.9342 GB, free: 19.23 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.934e-05/1.128, allocations: 9.391 kB / 0.9342 GB, free: 19.22 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/1.128, allocations: 1.438 kB / 0.9342 GB, free: 19.22 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001758/1.13, allocations: 287.8 kB / 0.9345 GB, free: 19.19 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005474/1.13, allocations: 62.88 kB / 0.9345 GB, free: 19.19 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01238/1.143, allocations: 3.771 MB / 0.9382 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008895/1.144, allocations: 80.58 kB / 0.9383 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/1.144, allocations: 21.89 kB / 0.9383 GB, free: 16.56 MB / 0.7325 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.0003041/1.144, allocations: 142.8 kB / 0.9384 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/1.144, allocations: 34.48 kB / 0.9385 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006199/1.15, allocations: 0.9435 MB / 0.9394 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/1.15, allocations: 4.656 kB / 0.9394 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/1.15, allocations: 0 / 0.9394 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.844e-06/1.15, allocations: 0.7812 kB / 0.9394 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000809/1.151, allocations: 428.5 kB / 0.9398 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/1.151, allocations: 2.531 kB / 0.9398 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004433/1.152, allocations: 54.69 kB / 0.9399 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001688/1.153, allocations: 283.8 kB / 0.9401 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.497e-05/1.153, allocations: 13.69 kB / 0.9402 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01218/1.166, allocations: 3.763 MB / 0.9438 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/1.166, allocations: 5.016 kB / 0.9438 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006479/1.172, allocations: 0.9511 MB / 0.9448 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003088/1.173, allocations: 122.9 kB / 0.9449 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000164/1.173, allocations: 4.875 kB / 0.9449 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007491/1.173, allocations: 47.47 kB / 0.9449 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/1.174, allocations: 24.02 kB / 0.9449 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-05/1.174, allocations: 17.48 kB / 0.945 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003479/1.174, allocations: 222.1 kB / 0.9452 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/1.174, allocations: 0 / 0.9452 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008489/1.175, allocations: 116.7 kB / 0.9453 GB, free: 13.04 MB / 0.7325 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.006562/1.181, allocations: 1.509 MB / 0.9468 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002708/1.184, allocations: 0.7294 MB / 0.9475 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/1.184, allocations: 6.656 kB / 0.9475 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00144/1.186, allocations: 0.5059 MB / 0.948 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007434/1.186, allocations: 100.2 kB / 0.9481 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01118/1.198, allocations: 2.605 MB / 0.9506 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004131/1.198, allocations: 0.7687 MB / 0.9514 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0005625/1.199, allocations: 78.55 kB / 0.9514 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002031/1.199, allocations: 107.6 kB / 0.9515 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of SimCode: time 2.124e-06/1.199, allocations: 0 / 0.9515 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03683/1.236, allocations: 15.7 MB / 0.9669 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000202/1.236, allocations: 202.4 kB / 0.9671 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.267/3.503, allocations: 3.938 kB / 0.9671 GB, free: 3.926 MB / 0.7325 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) Environment - environmentSimulation: