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.001216/0.001216, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 197 kB / 16.53 MB, free: 6.672 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.207/1.207, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.495/1.495, allocations: 292.3 MB / 0.5489 GB, free: 12.8 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.001251/0.001251, allocations: 70.17 kB / 0.6716 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1675, allocations: 114.5 MB / 0.7835 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.4223/0.5899, allocations: 149.1 MB / 0.929 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005307/0.5952, allocations: 7.062 MB / 0.9359 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/0.5954, allocations: 2.625 kB / 0.9359 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002612/0.5956, allocations: 71.23 kB / 0.936 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002444/0.5959, allocations: 122.9 kB / 0.9361 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001833/0.5978, allocations: 1.001 MB / 0.9371 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002634/0.598, allocations: 314.6 kB / 0.9374 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.368e-05/0.5981, allocations: 11.41 kB / 0.9374 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002834/0.5984, allocations: 188.6 kB / 0.9376 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.5985, allocations: 129.8 kB / 0.9377 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.276e-05/0.5986, allocations: 14.25 kB / 0.9377 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001484/0.6001, allocations: 1.192 MB / 0.9389 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.94e-05/0.6001, allocations: 74.95 kB / 0.939 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.6002, allocations: 106 kB / 0.9391 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0009088/0.6012, allocations: 0.6197 MB / 0.9397 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.6012, allocations: 0.9688 kB / 0.9397 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.012e-06/0.6012, allocations: 0 / 0.9397 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.6012, allocations: 0 / 0.9397 GB, free: 2.031 MB / 0.7169 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.0009994/0.6022, allocations: 0.5817 MB / 0.9402 GB, free: 17.59 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.6022, allocations: 15 kB / 0.9403 GB, free: 17.59 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.414e-05/0.6023, allocations: 60.23 kB / 0.9403 GB, free: 17.55 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/0.6033, allocations: 133.8 kB / 0.9404 GB, free: 17.53 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.6035, allocations: 218.6 kB / 0.9407 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.6036, allocations: 17.97 kB / 0.9407 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.816e-05/0.6036, allocations: 15.56 kB / 0.9407 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004474/0.604, allocations: 341.5 kB / 0.941 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.6041, allocations: 0 / 0.941 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.692e-05/0.6041, allocations: 10.56 kB / 0.941 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.894e-05/0.6041, allocations: 17.39 kB / 0.941 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004425/0.6046, allocations: 330.2 kB / 0.9414 GB, free: 17.23 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.001293/0.6059, allocations: 1.105 MB / 0.9424 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004195/0.6063, allocations: 190.8 kB / 0.9426 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.6064, allocations: 79.89 kB / 0.9427 GB, free: 16.42 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004416/0.6069, allocations: 463.5 kB / 0.9431 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.6069, allocations: 39.27 kB / 0.9432 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=21): time 1.333e-06/0.6069, allocations: 0 / 0.9432 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21): time 0.000561/0.6075, allocations: 258.5 kB / 0.9434 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/0.6075, allocations: 56.12 kB / 0.9435 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.6077, allocations: 194.8 kB / 0.9437 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.6077, allocations: 35.58 kB / 0.9437 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.064e-05/0.6078, allocations: 147.9 kB / 0.9438 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.646e-05/0.6078, allocations: 77.41 kB / 0.9439 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.01e-05/0.6079, allocations: 55.06 kB / 0.944 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 7.657e-05/0.608, allocations: 326.7 kB / 0.9443 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.6081, allocations: 73.11 kB / 0.9443 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.6082, allocations: 160 kB / 0.9445 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00025/0.6085, allocations: 248.1 kB / 0.9447 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.6085, allocations: 0.7188 kB / 0.9447 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005075/0.609, allocations: 284.2 kB / 0.945 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.609, allocations: 6.25 kB / 0.945 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/0.609, allocations: 3.188 kB / 0.945 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.6091, allocations: 9.25 kB / 0.945 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002611/0.6093, allocations: 55.81 kB / 0.9451 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.6093, allocations: 12.31 kB / 0.9451 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001863/0.6095, allocations: 30.97 kB / 0.9451 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.619e-05/0.6096, allocations: 13.55 kB / 0.9451 GB, free: 14.84 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001075/0.6097, allocations: 137.4 kB / 0.9453 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.6098, allocations: 21.95 kB / 0.9453 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000456/0.6103, allocations: 281.7 kB / 0.9455 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.6103, allocations: 7.094 kB / 0.9456 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.6103, allocations: 7.141 kB / 0.9456 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.6103, allocations: 0.5312 kB / 0.9456 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006742/0.611, allocations: 0.5883 MB / 0.9461 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.611, allocations: 0.5312 kB / 0.9461 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001763/0.6112, allocations: 31.06 kB / 0.9462 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.6112, allocations: 2.984 kB / 0.9462 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.6112, allocations: 6.531 kB / 0.9462 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.6112, allocations: 5.125 kB / 0.9462 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.6112, allocations: 1.125 kB / 0.9462 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004832/0.6117, allocations: 353.3 kB / 0.9465 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.653e-05/0.6118, allocations: 117.3 kB / 0.9466 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.451e-05/0.6119, allocations: 2.219 kB / 0.9466 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002018/0.6121, allocations: 12.28 kB / 0.9466 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.008e-05/0.6121, allocations: 15.38 kB / 0.9467 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.431e-05/0.6121, allocations: 11.55 kB / 0.9467 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001036/0.6122, allocations: 154.7 kB / 0.9468 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of sort global known variables: time 5.51e-07/0.6122, allocations: 0 / 0.9468 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000408/0.6127, allocations: 108 kB / 0.9469 GB, free: 13.96 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008368/0.6135, allocations: 0.9954 MB / 0.9479 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003193/0.6138, allocations: 218.9 kB / 0.9481 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.6138, allocations: 0 / 0.9481 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.614, allocations: 107.4 kB / 0.9482 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005296/0.6145, allocations: 100.7 kB / 0.9483 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002175/0.6167, allocations: 2.481 MB / 0.9507 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.6169, allocations: 0.7399 MB / 0.9514 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002573/0.6172, allocations: 59.86 kB / 0.9515 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.699e-05/0.6173, allocations: 58.39 kB / 0.9516 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of SimCode: time 8.41e-07/0.6173, allocations: 1.094 kB / 0.9516 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4138/1.031, allocations: 7.561 MB / 0.9589 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.005/9.036, allocations: 12.3 kB / 0.959 GB, free: 10.11 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/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)