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.0008543/0.0008543, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.00531/0.00531, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.206/1.206, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.517/1.517, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0004785/0.0004785, allocations: 15.66 kB / 0.6744 GB, free: 25.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1821/0.1826, allocations: 116.3 MB / 0.788 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003459/0.1861, allocations: 2.005 MB / 0.7899 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.4742/0.6604, allocations: 148.1 MB / 0.9346 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/0.6605, allocations: 2.906 kB / 0.9346 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001319/0.6607, allocations: 34.66 kB / 0.9346 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002348/0.6609, allocations: 93.97 kB / 0.9347 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004297/0.6614, allocations: 257 kB / 0.935 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002632/0.6616, allocations: 406.5 kB / 0.9354 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001567/0.6618, allocations: 105.6 kB / 0.9355 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001575/0.6634, allocations: 228.2 kB / 0.9357 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001889/0.6636, allocations: 156.1 kB / 0.9358 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.168e-05/0.6636, allocations: 10.62 kB / 0.9358 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003594/0.664, allocations: 263.4 kB / 0.9361 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.651e-05/0.664, allocations: 63.05 kB / 0.9361 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001563/0.6642, allocations: 161.3 kB / 0.9363 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003856/0.6646, allocations: 467.2 kB / 0.9367 GB, free: 17.35 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.6646, allocations: 3.625 kB / 0.9367 GB, free: 17.35 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6646, allocations: 0 / 0.9367 GB, free: 17.35 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.6646, allocations: 0 / 0.9367 GB, free: 17.35 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.001048/0.6657, allocations: 0.6584 MB / 0.9374 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.6657, allocations: 7.875 kB / 0.9374 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.78e-05/0.6658, allocations: 66.83 kB / 0.9375 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00244/0.6682, allocations: 259.3 kB / 0.9377 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002694/0.6685, allocations: 299.8 kB / 0.938 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.6685, allocations: 22.38 kB / 0.938 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.701e-05/0.6686, allocations: 29.81 kB / 0.938 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00122/0.6698, allocations: 429.1 kB / 0.9384 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.6698, allocations: 0 / 0.9384 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.431e-05/0.6699, allocations: 17.33 kB / 0.9385 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.6699, allocations: 10.75 kB / 0.9385 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001996/0.6719, allocations: 0.5311 MB / 0.939 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002488/0.6744, allocations: 1.14 MB / 0.9401 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001944/0.6763, allocations: 468.8 kB / 0.9406 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009312/0.6773, allocations: 238.9 kB / 0.9408 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.523e-05/0.6773, allocations: 6.078 kB / 0.9408 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.6774, allocations: 35.88 kB / 0.9408 GB, free: 16.03 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=25): time 1.282e-06/0.6774, allocations: 0 / 0.9408 GB, free: 16.03 MB / 0.7325 GB Notification: Performance of matching and sorting (n=25): time 0.0146/0.692, allocations: 1.715 MB / 0.9425 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.692, allocations: 62.69 kB / 0.9426 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000276/0.6923, allocations: 309.5 kB / 0.9429 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.173e-05/0.6924, allocations: 28.39 kB / 0.9429 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.859e-05/0.6924, allocations: 170.3 kB / 0.943 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.148e-05/0.6925, allocations: 83.92 kB / 0.9431 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.625e-05/0.6926, allocations: 26 kB / 0.9431 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.383e-05/0.6927, allocations: 346.3 kB / 0.9435 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009333/0.6936, allocations: 207.5 kB / 0.9437 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009418/0.6946, allocations: 265.6 kB / 0.9439 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001822/0.6964, allocations: 439.5 kB / 0.9443 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.6964, allocations: 0.9375 kB / 0.9443 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006429/0.7028, allocations: 0.8938 MB / 0.9452 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.7029, allocations: 9.625 kB / 0.9452 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.7029, allocations: 0.625 kB / 0.9452 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001726/0.7046, allocations: 280.1 kB / 0.9455 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004224/0.705, allocations: 70.34 kB / 0.9456 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01217/0.7172, allocations: 3.776 MB / 0.9493 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006972/0.7179, allocations: 79.77 kB / 0.9493 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.113e-05/0.718, allocations: 19.72 kB / 0.9493 GB, free: 12.05 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 (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.0001593/0.7181, allocations: 147.5 kB / 0.9495 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.483e-05/0.7182, allocations: 30.31 kB / 0.9495 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006492/0.7247, allocations: 0.9495 MB / 0.9504 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.7247, allocations: 2.25 kB / 0.9504 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.7247, allocations: 3.938 kB / 0.9504 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.7248, allocations: 3.641 kB / 0.9505 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004207/0.7252, allocations: 419.9 kB / 0.9509 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.7252, allocations: 5.281 kB / 0.9509 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003409/0.7255, allocations: 51.12 kB / 0.9509 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001616/0.7272, allocations: 287.3 kB / 0.9512 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.874e-05/0.7272, allocations: 17.05 kB / 0.9512 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01202/0.7392, allocations: 3.76 MB / 0.9549 GB, free: 8.934 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.7393, allocations: 0 / 0.9549 GB, free: 8.934 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006314/0.7456, allocations: 0.9541 MB / 0.9558 GB, free: 8.723 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.358e-05/0.7457, allocations: 119.1 kB / 0.9559 GB, free: 8.602 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.67e-05/0.7457, allocations: 4.812 kB / 0.9559 GB, free: 8.602 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006614/0.7464, allocations: 48.11 kB / 0.956 GB, free: 8.598 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.894e-05/0.7465, allocations: 23.7 kB / 0.956 GB, free: 8.594 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.59e-05/0.7465, allocations: 23.95 kB / 0.956 GB, free: 8.586 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000202/0.7467, allocations: 231.1 kB / 0.9562 GB, free: 8.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7467, allocations: 0 / 0.9562 GB, free: 8.5 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005015/0.7472, allocations: 105.7 kB / 0.9563 GB, free: 8.5 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 (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.006657/0.7539, allocations: 1.512 MB / 0.9578 GB, free: 7.754 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002416/0.7563, allocations: 0.7382 MB / 0.9585 GB, free: 7.504 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.7563, allocations: 0 / 0.9585 GB, free: 7.504 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001379/0.7577, allocations: 0.5038 MB / 0.959 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006114/0.7584, allocations: 107.4 kB / 0.9591 GB, free: 7.23 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01747/0.7758, allocations: 4.491 MB / 0.9635 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/0.7761, allocations: 0.769 MB / 0.9643 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004276/0.7765, allocations: 78.84 kB / 0.9643 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001826/0.7767, allocations: 101.1 kB / 0.9644 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of SimCode: time 3.8e-07/0.7767, allocations: 0 / 0.9644 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.259/1.036, allocations: 15.69 MB / 0.9798 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001993/1.036, allocations: 215.9 kB / 0.98 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.833/3.869, allocations: 4 kB / 0.98 GB, free: 11.89 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)