Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.AirProperties.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.Media.Examples.AirProperties,fileNamePrefix="Buildings_8_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_8_Buildings_Media_Examples_AirProperties",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.001001/0.001001, allocations: 90.75 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.001276/0.001276, 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.572/1.572, allocations: 205.4 MB / 222.1 MB, free: 5.484 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.755/1.755, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0009117/0.0009118, allocations: 17.91 kB / 0.6738 GB, free: 26.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.2186, allocations: 116.3 MB / 0.7874 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.6469/0.8656, allocations: 135.2 MB / 0.9194 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007257/0.8729, allocations: 6.522 MB / 0.9258 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001829/0.8731, allocations: 0 / 0.9258 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002648/0.8734, allocations: 49.11 kB / 0.9258 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003853/0.8738, allocations: 121.2 kB / 0.9259 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001973/0.8758, allocations: 0.6223 MB / 0.9266 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004068/0.8762, allocations: 408.3 kB / 0.9269 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.31e-05/0.8762, allocations: 10.69 kB / 0.927 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000353/0.8766, allocations: 174.5 kB / 0.9271 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002007/0.8768, allocations: 139.2 kB / 0.9273 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.418e-05/0.8768, allocations: 8.688 kB / 0.9273 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001448/0.8783, allocations: 0.6391 MB / 0.9279 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.378e-05/0.8784, allocations: 66.36 kB / 0.9279 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002964/0.8787, allocations: 62.8 kB / 0.928 GB, free: 21.68 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0006059/0.8793, allocations: 382.3 kB / 0.9284 GB, free: 21.64 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.8793, allocations: 0 / 0.9284 GB, free: 21.64 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.562e-06/0.8793, allocations: 2.625 kB / 0.9284 GB, free: 21.64 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.8793, allocations: 4 kB / 0.9284 GB, free: 21.64 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009503/0.8803, allocations: 0.5423 MB / 0.9289 GB, free: 21.2 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.8803, allocations: 7.625 kB / 0.9289 GB, free: 21.2 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.844e-05/0.8804, allocations: 62.69 kB / 0.929 GB, free: 21.16 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/0.8815, allocations: 133.2 kB / 0.9291 GB, free: 21.15 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/0.8818, allocations: 217 kB / 0.9293 GB, free: 20.94 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.8818, allocations: 11.41 kB / 0.9293 GB, free: 20.94 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.865e-05/0.8818, allocations: 25.64 kB / 0.9293 GB, free: 20.94 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005138/0.8823, allocations: 340.5 kB / 0.9297 GB, free: 20.86 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.8824, allocations: 0 / 0.9297 GB, free: 20.86 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.876e-05/0.8824, allocations: 9.875 kB / 0.9297 GB, free: 20.86 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.022e-05/0.8824, allocations: 19.66 kB / 0.9297 GB, free: 20.86 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004747/0.8829, allocations: 324.9 kB / 0.93 GB, free: 20.85 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001423/0.8843, allocations: 1.111 MB / 0.9311 GB, free: 20.08 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004579/0.8848, allocations: 185.6 kB / 0.9313 GB, free: 20.06 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.8849, allocations: 85.05 kB / 0.9313 GB, free: 20.05 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005234/0.8855, allocations: 456 kB / 0.9318 GB, free: 19.58 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.8855, allocations: 37.48 kB / 0.9318 GB, free: 19.54 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=21): time 1.563e-06/0.8855, allocations: 0 / 0.9318 GB, free: 19.54 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21): time 0.000612/0.8861, allocations: 258.1 kB / 0.9321 GB, free: 19.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.8862, allocations: 54.66 kB / 0.9321 GB, free: 19.43 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001865/0.8864, allocations: 201.3 kB / 0.9323 GB, free: 19.33 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.948e-05/0.8864, allocations: 34.92 kB / 0.9323 GB, free: 19.3 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.003e-05/0.8865, allocations: 143.7 kB / 0.9325 GB, free: 19.18 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.296e-05/0.8866, allocations: 75.83 kB / 0.9326 GB, free: 19.14 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.376e-05/0.8866, allocations: 2.812 kB / 0.9326 GB, free: 19.14 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.8867, allocations: 331.8 kB / 0.9329 GB, free: 18.82 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.8868, allocations: 67.8 kB / 0.9329 GB, free: 18.82 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001496/0.887, allocations: 162.5 kB / 0.9331 GB, free: 18.71 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.8871, allocations: 92.61 kB / 0.9332 GB, free: 18.71 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.8871, allocations: 3.422 kB / 0.9332 GB, free: 18.71 MB / 0.7325 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004616/0.8876, allocations: 281.3 kB / 0.9335 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.8876, allocations: 7.719 kB / 0.9335 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.8876, allocations: 5.438 kB / 0.9335 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.8877, allocations: 4.219 kB / 0.9335 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002514/0.8879, allocations: 58.36 kB / 0.9335 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.8879, allocations: 9.141 kB / 0.9335 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001865/0.8881, allocations: 35.7 kB / 0.9336 GB, free: 18.64 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.106e-05/0.8882, allocations: 16.42 kB / 0.9336 GB, free: 18.64 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001243/0.8883, allocations: 137.3 kB / 0.9337 GB, free: 18.52 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.8884, allocations: 26.66 kB / 0.9337 GB, free: 18.52 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004603/0.8889, allocations: 278.8 kB / 0.934 GB, free: 18.46 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.8889, allocations: 7.031 kB / 0.934 GB, free: 18.46 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.8889, allocations: 3.953 kB / 0.934 GB, free: 18.46 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.8889, allocations: 1.969 kB / 0.934 GB, free: 18.46 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006782/0.8896, allocations: 0.5736 MB / 0.9346 GB, free: 18.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.8896, allocations: 0 / 0.9346 GB, free: 18.14 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000177/0.8898, allocations: 36.91 kB / 0.9346 GB, free: 18.14 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.491e-06/0.8898, allocations: 4.797 kB / 0.9346 GB, free: 18.14 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.8898, allocations: 8.406 kB / 0.9346 GB, free: 18.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.726e-06/0.8898, allocations: 0.5156 kB / 0.9346 GB, free: 18.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.8898, allocations: 2.312 kB / 0.9346 GB, free: 18.14 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004724/0.8903, allocations: 350.3 kB / 0.935 GB, free: 17.97 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.8905, allocations: 119 kB / 0.9351 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.705e-05/0.8905, allocations: 4.516 kB / 0.9351 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002114/0.8907, allocations: 11.61 kB / 0.9351 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.013e-05/0.8907, allocations: 10.25 kB / 0.9351 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-05/0.8908, allocations: 21.64 kB / 0.9351 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001204/0.8909, allocations: 149.8 kB / 0.9353 GB, free: 17.78 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8909, allocations: 3.531 kB / 0.9353 GB, free: 17.78 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005133/0.8914, allocations: 110.4 kB / 0.9354 GB, free: 17.77 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009781/0.8924, allocations: 0.9681 MB / 0.9363 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003639/0.8928, allocations: 202.4 kB / 0.9365 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.8928, allocations: 1.062 kB / 0.9365 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001778/0.893, allocations: 106.7 kB / 0.9366 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006425/0.8936, allocations: 103.6 kB / 0.9367 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002091/0.8957, allocations: 1.331 MB / 0.938 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.8961, allocations: 0.7398 MB / 0.9387 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003165/0.8964, allocations: 56.78 kB / 0.9388 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.8965, allocations: 52.33 kB / 0.9388 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of SimCode: time 1.19e-05/0.8965, allocations: 0 / 0.9388 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01985/0.9164, allocations: 7.016 MB / 0.9457 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001684/0.9166, allocations: 175.5 kB / 0.9459 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.867/2.784, allocations: 0 / 0.9459 GB, free: 14.88 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_8_Buildings.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Media_Examples_AirProperties.fmu > Buildings_8_Buildings.Media.Examples.AirProperties.pipe 2>&1) Environment - environmentSimulation: