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.0006862/0.0006863, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.003853/0.003853, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.566 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.614/1.614, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005409/0.000541, allocations: 18.31 kB / 0.6744 GB, free: 25.68 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.2045, allocations: 116.3 MB / 0.788 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.4834/0.6879, allocations: 144.9 MB / 0.9295 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005048/0.693, allocations: 7.084 MB / 0.9364 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.309e-05/0.6931, allocations: 0 / 0.9364 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002339/0.6933, allocations: 57.31 kB / 0.9365 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000195/0.6935, allocations: 121 kB / 0.9366 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00139/0.6949, allocations: 0.9277 MB / 0.9375 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003084/0.6953, allocations: 495.2 kB / 0.938 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.86e-05/0.6953, allocations: 10.84 kB / 0.938 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002668/0.6956, allocations: 176.2 kB / 0.9382 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.6957, allocations: 138 kB / 0.9383 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.6957, allocations: 7.812 kB / 0.9383 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001414/0.6972, allocations: 1.513 MB / 0.9398 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.609e-05/0.6972, allocations: 70.66 kB / 0.9399 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.261e-05/0.6973, allocations: 135.8 kB / 0.94 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007234/0.6981, allocations: 0.7172 MB / 0.9407 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.6981, allocations: 3.5 kB / 0.9407 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.734e-06/0.6981, allocations: 0 / 0.9407 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.6981, allocations: 3.938 kB / 0.9407 GB, free: 0.5078 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.0008003/0.6989, allocations: 0.5357 MB / 0.9412 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.6989, allocations: 13.56 kB / 0.9412 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.013e-05/0.699, allocations: 54.48 kB / 0.9413 GB, free: 16.03 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.7, allocations: 133.7 kB / 0.9414 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001803/0.7002, allocations: 220.2 kB / 0.9416 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.7002, allocations: 19.19 kB / 0.9416 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.352e-05/0.7003, allocations: 15.75 kB / 0.9416 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004798/0.7008, allocations: 341.4 kB / 0.942 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.7008, allocations: 1.062 kB / 0.942 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.806e-05/0.7008, allocations: 12.38 kB / 0.942 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.002e-05/0.7008, allocations: 17.91 kB / 0.942 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004955/0.7013, allocations: 325.5 kB / 0.9423 GB, free: 15.71 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.001264/0.7026, allocations: 1.102 MB / 0.9434 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000424/0.703, allocations: 188.4 kB / 0.9436 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/0.7032, allocations: 86.25 kB / 0.9437 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004438/0.7036, allocations: 461 kB / 0.9441 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.7037, allocations: 40.53 kB / 0.9441 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=21): time 1.373e-06/0.7037, allocations: 0 / 0.9441 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21): time 0.0005824/0.7043, allocations: 258.3 kB / 0.9444 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.7043, allocations: 56.38 kB / 0.9444 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.7045, allocations: 195.1 kB / 0.9446 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.7045, allocations: 31.89 kB / 0.9446 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.787e-05/0.7046, allocations: 145.3 kB / 0.9448 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.363e-05/0.7046, allocations: 75 kB / 0.9449 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.825e-05/0.7047, allocations: 30.5 kB / 0.9449 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.018e-05/0.7047, allocations: 335 kB / 0.9452 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.7049, allocations: 66.44 kB / 0.9453 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001558/0.705, allocations: 166.5 kB / 0.9454 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002756/0.7053, allocations: 246.2 kB / 0.9457 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.7053, allocations: 1.156 kB / 0.9457 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000465/0.7058, allocations: 286 kB / 0.9459 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.7058, allocations: 5.781 kB / 0.9459 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.7058, allocations: 6.953 kB / 0.9459 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.7058, allocations: 8.969 kB / 0.946 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002402/0.7061, allocations: 57.72 kB / 0.946 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.7061, allocations: 8.625 kB / 0.946 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000193/0.7063, allocations: 35.84 kB / 0.9461 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.06e-05/0.7063, allocations: 18.03 kB / 0.9461 GB, free: 13.32 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.0001011/0.7064, allocations: 135.2 kB / 0.9462 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.7066, allocations: 26.8 kB / 0.9462 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004397/0.707, allocations: 277.1 kB / 0.9465 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.707, allocations: 6.656 kB / 0.9465 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.707, allocations: 0.5 kB / 0.9465 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.707, allocations: 6.016 kB / 0.9465 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007166/0.7078, allocations: 0.58 MB / 0.9471 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.7078, allocations: 0.5938 kB / 0.9471 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001822/0.708, allocations: 37.11 kB / 0.9471 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.708, allocations: 1.688 kB / 0.9471 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.708, allocations: 8.531 kB / 0.9471 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.708, allocations: 3.406 kB / 0.9471 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.708, allocations: 1.188 kB / 0.9471 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005104/0.7085, allocations: 354.2 kB / 0.9475 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.7086, allocations: 117.7 kB / 0.9476 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.119e-05/0.7087, allocations: 1.844 kB / 0.9476 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002143/0.7089, allocations: 11.3 kB / 0.9476 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.194e-05/0.7089, allocations: 18.91 kB / 0.9476 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.904e-05/0.709, allocations: 9.562 kB / 0.9476 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001262/0.7091, allocations: 152.4 kB / 0.9478 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of sort global known variables: time 5.41e-07/0.7091, allocations: 0 / 0.9478 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004479/0.7096, allocations: 121.5 kB / 0.9479 GB, free: 12.44 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.0009178/0.7105, allocations: 0.9887 MB / 0.9488 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002981/0.7108, allocations: 209.2 kB / 0.949 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.7108, allocations: 1.094 kB / 0.949 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.7109, allocations: 105.9 kB / 0.9491 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005743/0.7115, allocations: 89.5 kB / 0.9492 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002311/0.7138, allocations: 2.592 MB / 0.9518 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002308/0.7141, allocations: 0.7373 MB / 0.9525 GB, free: 9.355 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002647/0.7144, allocations: 57.67 kB / 0.9525 GB, free: 9.328 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.278e-05/0.7145, allocations: 56.77 kB / 0.9526 GB, free: 9.32 MB / 0.7325 GB Notification: Performance of SimCode: time 2.6e-07/0.7145, allocations: 0 / 0.9526 GB, free: 9.32 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.424/2.139, allocations: 7.198 MB / 0.9596 GB, free: 7.855 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002299/2.139, allocations: 189 kB / 0.9598 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.427/4.567, allocations: 0 / 0.9598 GB, free: 7.598 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)