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.001125/0.001125, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001181/0.001181, allocations: 190.7 kB / 16.25 MB, free: 6.621 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.277/1.277, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.549/1.549, allocations: 292.3 MB / 0.5486 GB, free: 13.64 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.001362/0.001362, allocations: 66.72 kB / 0.6711 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1955/0.1968, allocations: 114.6 MB / 0.783 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003237/0.2001, allocations: 2.359 MB / 0.7853 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5085/0.7087, allocations: 149.8 MB / 0.9316 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000144/0.7088, allocations: 6.906 kB / 0.9316 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001749/0.7091, allocations: 29.52 kB / 0.9316 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002978/0.7094, allocations: 88.02 kB / 0.9317 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000575/0.71, allocations: 271.8 kB / 0.9319 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004189/0.7104, allocations: 429.8 kB / 0.9324 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001962/0.7106, allocations: 107.2 kB / 0.9325 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001734/0.7123, allocations: 273 kB / 0.9327 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002572/0.7126, allocations: 185.5 kB / 0.9329 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.933e-05/0.7127, allocations: 30.97 kB / 0.9329 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000461/0.7131, allocations: 284.7 kB / 0.9332 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.364e-05/0.7132, allocations: 80.55 kB / 0.9333 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001604/0.7134, allocations: 167.2 kB / 0.9334 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000568/0.714, allocations: 481.9 kB / 0.9339 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.714, allocations: 0 / 0.9339 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.362e-06/0.714, allocations: 0 / 0.9339 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.714, allocations: 0 / 0.9339 GB, free: 5.992 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.001495/0.7155, allocations: 0.7061 MB / 0.9346 GB, free: 21.52 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.7155, allocations: 11.56 kB / 0.9346 GB, free: 21.52 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.232e-05/0.7156, allocations: 64.3 kB / 0.9347 GB, free: 21.48 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002769/0.7184, allocations: 259.1 kB / 0.9349 GB, free: 21.44 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003118/0.7187, allocations: 304 kB / 0.9352 GB, free: 21.21 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.7187, allocations: 19.84 kB / 0.9352 GB, free: 21.21 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.259e-05/0.7188, allocations: 24.75 kB / 0.9352 GB, free: 21.21 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/0.7202, allocations: 429.2 kB / 0.9356 GB, free: 21.17 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.7202, allocations: 4 kB / 0.9356 GB, free: 21.17 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.24e-05/0.7202, allocations: 10.88 kB / 0.9357 GB, free: 21.17 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.7203, allocations: 13.53 kB / 0.9357 GB, free: 21.16 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00215/0.7224, allocations: 0.5247 MB / 0.9362 GB, free: 21.15 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002773/0.7252, allocations: 1.132 MB / 0.9373 GB, free: 20.79 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002127/0.7273, allocations: 460.5 kB / 0.9377 GB, free: 20.75 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009749/0.7283, allocations: 234.1 kB / 0.938 GB, free: 20.74 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.878e-05/0.7284, allocations: 3.578 kB / 0.938 GB, free: 20.74 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.7284, allocations: 38.81 kB / 0.938 GB, free: 20.7 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=25): time 1.272e-06/0.7284, allocations: 0 / 0.938 GB, free: 20.7 MB / 0.7481 GB Notification: Performance of matching and sorting (n=25): time 0.01575/0.7442, allocations: 1.733 MB / 0.9397 GB, free: 20.34 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.7442, allocations: 58.52 kB / 0.9397 GB, free: 20.28 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002586/0.7445, allocations: 304.1 kB / 0.94 GB, free: 20.16 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.333e-05/0.7445, allocations: 32.55 kB / 0.9401 GB, free: 20.13 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 9.022e-05/0.7446, allocations: 166.8 kB / 0.9402 GB, free: 20.03 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.489e-05/0.7447, allocations: 86.77 kB / 0.9403 GB, free: 19.98 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001469/0.7448, allocations: 75.98 kB / 0.9404 GB, free: 19.96 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.745, allocations: 348.2 kB / 0.9407 GB, free: 19.64 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009544/0.7459, allocations: 199.7 kB / 0.9409 GB, free: 19.64 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009712/0.7469, allocations: 259.9 kB / 0.9411 GB, free: 19.57 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001877/0.7488, allocations: 434.7 kB / 0.9416 GB, free: 19.54 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.7488, allocations: 0 / 0.9416 GB, free: 19.54 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006744/0.7555, allocations: 0.9006 MB / 0.9424 GB, free: 19.42 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.7556, allocations: 7.312 kB / 0.9424 GB, free: 19.42 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.7556, allocations: 0.9375 kB / 0.9424 GB, free: 19.42 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001823/0.7574, allocations: 278.5 kB / 0.9427 GB, free: 19.39 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004613/0.7579, allocations: 66.08 kB / 0.9428 GB, free: 19.39 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01425/0.7721, allocations: 4.095 MB / 0.9468 GB, free: 16.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008263/0.773, allocations: 74.73 kB / 0.9468 GB, free: 16.57 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.239e-05/0.7731, allocations: 18.95 kB / 0.9469 GB, free: 16.57 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.0002176/0.7733, allocations: 140.5 kB / 0.947 GB, free: 16.46 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.859e-05/0.7734, allocations: 32.95 kB / 0.947 GB, free: 16.44 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007076/0.7804, allocations: 0.955 MB / 0.948 GB, free: 16.32 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.7805, allocations: 5.922 kB / 0.948 GB, free: 16.32 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.205e-06/0.7805, allocations: 1.344 kB / 0.948 GB, free: 16.32 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.7805, allocations: 2.625 kB / 0.948 GB, free: 16.32 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004638/0.781, allocations: 422 kB / 0.9484 GB, free: 16.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-06/0.781, allocations: 2.156 kB / 0.9484 GB, free: 16.12 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003694/0.7813, allocations: 53.5 kB / 0.9484 GB, free: 16.12 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001683/0.783, allocations: 281.2 kB / 0.9487 GB, free: 16.08 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.058e-05/0.7831, allocations: 17.14 kB / 0.9487 GB, free: 16.08 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01373/0.7968, allocations: 4.082 MB / 0.9527 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.7968, allocations: 0.6562 kB / 0.9527 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006861/0.8037, allocations: 0.9609 MB / 0.9536 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.8038, allocations: 106.3 kB / 0.9537 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.655e-05/0.8039, allocations: 13.11 kB / 0.9538 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006974/0.8046, allocations: 43.89 kB / 0.9538 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.566e-05/0.8047, allocations: 22.39 kB / 0.9538 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-05/0.8047, allocations: 21.02 kB / 0.9538 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002282/0.805, allocations: 229.4 kB / 0.9541 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.805, allocations: 0 / 0.9541 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006251/0.8056, allocations: 109.8 kB / 0.9542 GB, free: 12.86 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.007318/0.8129, allocations: 1.516 MB / 0.9556 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002665/0.8156, allocations: 0.7466 MB / 0.9564 GB, free: 11.87 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.8156, allocations: 1.375 kB / 0.9564 GB, free: 11.87 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001459/0.8171, allocations: 0.4962 MB / 0.9569 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006158/0.8177, allocations: 112 kB / 0.957 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01903/0.8368, allocations: 4.486 MB / 0.9613 GB, free: 9.953 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/0.8371, allocations: 0.7665 MB / 0.9621 GB, free: 9.254 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004655/0.8375, allocations: 79.41 kB / 0.9622 GB, free: 9.223 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001767/0.8377, allocations: 100.4 kB / 0.9623 GB, free: 9.215 MB / 0.7481 GB Notification: Performance of SimCode: time 7.02e-07/0.8377, allocations: 0.9375 kB / 0.9623 GB, free: 9.215 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.883/4.721, allocations: 16.36 MB / 0.9782 GB, free: 5.234 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000188/4.721, allocations: 221.1 kB / 0.9785 GB, free: 4.98 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.199/6.92, allocations: 4 kB / 0.9785 GB, free: 4.977 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)