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.001189/0.001189, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001301/0.001301, allocations: 195.5 kB / 16.14 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.319/1.319, allocations: 205.1 MB / 222 MB, free: 4.75 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.709/1.709, allocations: 292.3 MB / 0.5484 GB, free: 13.67 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.001408/0.001408, allocations: 65.62 kB / 0.6709 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2774, allocations: 114.6 MB / 0.7828 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003554/0.281, allocations: 2.36 MB / 0.7851 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.7481/1.029, allocations: 149.7 MB / 0.9313 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002842/1.029, allocations: 5.719 kB / 0.9313 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002215/1.03, allocations: 33.61 kB / 0.9313 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003943/1.03, allocations: 87.39 kB / 0.9314 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001117/1.031, allocations: 260.8 kB / 0.9317 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005903/1.032, allocations: 410.3 kB / 0.9321 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002298/1.032, allocations: 102.1 kB / 0.9322 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002202/1.034, allocations: 257.8 kB / 0.9324 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003885/1.035, allocations: 170.3 kB / 0.9326 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.145e-05/1.035, allocations: 16.34 kB / 0.9326 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008509/1.036, allocations: 267.6 kB / 0.9328 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001175/1.036, allocations: 63.5 kB / 0.9329 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002325/1.036, allocations: 151.1 kB / 0.933 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0007856/1.037, allocations: 470 kB / 0.9335 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.275e-06/1.037, allocations: 2.562 kB / 0.9335 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of FrontEnd: time 9.41e-07/1.037, allocations: 1.094 kB / 0.9335 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.141e-06/1.037, allocations: 0 / 0.9335 GB, free: 5.742 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.001878/1.039, allocations: 0.7058 MB / 0.9342 GB, free: 21.27 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/1.039, allocations: 8.5 kB / 0.9342 GB, free: 21.27 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.275e-05/1.039, allocations: 62.81 kB / 0.9342 GB, free: 21.23 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002922/1.042, allocations: 260.9 kB / 0.9345 GB, free: 21.19 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004296/1.042, allocations: 298.9 kB / 0.9348 GB, free: 20.97 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/1.042, allocations: 25.25 kB / 0.9348 GB, free: 20.96 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.788e-05/1.042, allocations: 23 kB / 0.9348 GB, free: 20.96 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00152/1.044, allocations: 427.6 kB / 0.9352 GB, free: 20.93 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/1.044, allocations: 0 / 0.9352 GB, free: 20.93 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.502e-05/1.044, allocations: 17.92 kB / 0.9353 GB, free: 20.92 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/1.044, allocations: 9.469 kB / 0.9353 GB, free: 20.92 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00233/1.046, allocations: 0.5284 MB / 0.9358 GB, free: 20.91 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003182/1.05, allocations: 1.126 MB / 0.9369 GB, free: 20.55 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002286/1.052, allocations: 463.9 kB / 0.9373 GB, free: 20.51 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001055/1.053, allocations: 234.3 kB / 0.9375 GB, free: 20.49 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 4.951e-05/1.053, allocations: 7.406 kB / 0.9376 GB, free: 20.49 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/1.053, allocations: 37.97 kB / 0.9376 GB, free: 20.45 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=25): time 2.454e-06/1.053, allocations: 2.062 kB / 0.9376 GB, free: 20.45 MB / 0.7481 GB Notification: Performance of matching and sorting (n=25): time 0.01652/1.07, allocations: 1.734 MB / 0.9393 GB, free: 20.1 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/1.07, allocations: 54.03 kB / 0.9393 GB, free: 20.04 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000359/1.07, allocations: 302.1 kB / 0.9396 GB, free: 19.92 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 7.92e-05/1.07, allocations: 32.55 kB / 0.9397 GB, free: 19.89 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/1.07, allocations: 168.6 kB / 0.9398 GB, free: 19.79 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.802e-05/1.07, allocations: 85.56 kB / 0.9399 GB, free: 19.73 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001705/1.07, allocations: 75.17 kB / 0.94 GB, free: 19.71 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001496/1.071, allocations: 349 kB / 0.9403 GB, free: 19.39 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001023/1.072, allocations: 202.7 kB / 0.9405 GB, free: 19.39 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00105/1.073, allocations: 262.9 kB / 0.9407 GB, free: 19.33 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002019/1.075, allocations: 427.5 kB / 0.9412 GB, free: 19.29 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/1.075, allocations: 7.062 kB / 0.9412 GB, free: 19.29 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006988/1.082, allocations: 0.8948 MB / 0.942 GB, free: 19.18 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.674e-05/1.082, allocations: 6.312 kB / 0.942 GB, free: 19.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/1.082, allocations: 3.984 kB / 0.942 GB, free: 19.18 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001959/1.084, allocations: 281.6 kB / 0.9423 GB, free: 19.14 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005797/1.084, allocations: 66.03 kB / 0.9424 GB, free: 19.14 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01396/1.098, allocations: 3.784 MB / 0.9461 GB, free: 16.55 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009986/1.099, allocations: 76.45 kB / 0.9461 GB, free: 16.52 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.15e-05/1.099, allocations: 21.91 kB / 0.9462 GB, free: 16.52 MB / 0.7481 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002578/1.1, allocations: 143.3 kB / 0.9463 GB, free: 16.41 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/1.1, allocations: 30.12 kB / 0.9463 GB, free: 16.39 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007276/1.107, allocations: 0.9526 MB / 0.9473 GB, free: 16.27 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/1.107, allocations: 2.594 kB / 0.9473 GB, free: 16.27 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/1.107, allocations: 3.938 kB / 0.9473 GB, free: 16.27 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/1.107, allocations: 7.5 kB / 0.9473 GB, free: 16.27 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006178/1.108, allocations: 422.6 kB / 0.9477 GB, free: 16.06 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/1.108, allocations: 1.25 kB / 0.9477 GB, free: 16.06 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000395/1.108, allocations: 54.66 kB / 0.9477 GB, free: 16.06 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001677/1.11, allocations: 277 kB / 0.948 GB, free: 16.03 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.419e-05/1.11, allocations: 17.12 kB / 0.948 GB, free: 16.03 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01313/1.123, allocations: 3.788 MB / 0.9517 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.123, allocations: 0.5312 kB / 0.9517 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007205/1.13, allocations: 0.9492 MB / 0.9526 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001705/1.131, allocations: 116.9 kB / 0.9527 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001257/1.131, allocations: 8.688 kB / 0.9528 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007177/1.131, allocations: 45.44 kB / 0.9528 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/1.131, allocations: 23.98 kB / 0.9528 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.222e-05/1.132, allocations: 16.23 kB / 0.9528 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002532/1.132, allocations: 225.7 kB / 0.9531 GB, free: 13 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.51e-07/1.132, allocations: 1.094 kB / 0.9531 GB, free: 13 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006708/1.132, allocations: 113.4 kB / 0.9532 GB, free: 13 MB / 0.7481 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007224/1.14, allocations: 1.508 MB / 0.9546 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002696/1.142, allocations: 0.7191 MB / 0.9553 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/1.142, allocations: 4.719 kB / 0.9553 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.00148/1.144, allocations: 0.5034 MB / 0.9558 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006648/1.145, allocations: 96.86 kB / 0.9559 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01892/1.164, allocations: 4.494 MB / 0.9603 GB, free: 10.1 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/1.164, allocations: 0.7679 MB / 0.9611 GB, free: 9.402 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0005324/1.164, allocations: 78.31 kB / 0.9611 GB, free: 9.375 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001952/1.165, allocations: 99.27 kB / 0.9612 GB, free: 9.367 MB / 0.7481 GB Notification: Performance of SimCode: time 8.82e-07/1.165, allocations: 0 / 0.9612 GB, free: 9.367 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03221/1.197, allocations: 15.85 MB / 0.9767 GB, free: 5.242 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001942/1.197, allocations: 215.4 kB / 0.9769 GB, free: 4.992 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.083/3.28, allocations: 3.938 kB / 0.9769 GB, free: 4.988 MB / 0.7481 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/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)