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.002039/0.002039, allocations: 105.4 kB / 15.7 MB, free: 24 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.001678/0.001678, allocations: 195.3 kB / 16.64 MB, free: 6.453 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.456/1.456, allocations: 205.1 MB / 222.5 MB, free: 4.559 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.925/1.925, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001707/0.001707, allocations: 74.42 kB / 0.6718 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2831, allocations: 114.5 MB / 0.7836 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.7447/1.028, allocations: 149.1 MB / 0.9292 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00677/1.035, allocations: 7.065 MB / 0.9361 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001947/1.035, allocations: 1.094 kB / 0.9361 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003497/1.035, allocations: 63.66 kB / 0.9362 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004085/1.036, allocations: 132 kB / 0.9363 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002746/1.038, allocations: 1 MB / 0.9373 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003735/1.039, allocations: 312.8 kB / 0.9376 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.469e-05/1.039, allocations: 12.41 kB / 0.9376 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004128/1.039, allocations: 203.6 kB / 0.9378 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001762/1.04, allocations: 128.4 kB / 0.9379 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.651e-05/1.04, allocations: 10.22 kB / 0.9379 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001847/1.041, allocations: 1.193 MB / 0.9391 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.945e-05/1.042, allocations: 68.39 kB / 0.9391 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001242/1.042, allocations: 106.4 kB / 0.9392 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001085/1.043, allocations: 0.6194 MB / 0.9398 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/1.043, allocations: 0.75 kB / 0.9398 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.333e-06/1.043, allocations: 0 / 0.9398 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.228e-06/1.043, allocations: 0 / 0.9398 GB, free: 2.043 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.001374/1.044, allocations: 0.5916 MB / 0.9404 GB, free: 17.59 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/1.044, allocations: 9.719 kB / 0.9404 GB, free: 17.59 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.516e-05/1.044, allocations: 57.02 kB / 0.9405 GB, free: 17.55 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001233/1.046, allocations: 137.8 kB / 0.9406 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003/1.046, allocations: 214.5 kB / 0.9408 GB, free: 17.33 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/1.046, allocations: 18.09 kB / 0.9408 GB, free: 17.33 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.125e-05/1.046, allocations: 14.81 kB / 0.9409 GB, free: 17.33 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005914/1.047, allocations: 345.9 kB / 0.9412 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/1.047, allocations: 0 / 0.9412 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.481e-05/1.047, allocations: 12.14 kB / 0.9412 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.319e-05/1.047, allocations: 14.11 kB / 0.9412 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005443/1.047, allocations: 328 kB / 0.9415 GB, free: 17.24 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.001595/1.049, allocations: 1.105 MB / 0.9426 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005383/1.049, allocations: 186.6 kB / 0.9428 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001614/1.05, allocations: 85.19 kB / 0.9429 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006585/1.05, allocations: 465.2 kB / 0.9433 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/1.05, allocations: 36.97 kB / 0.9433 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=21): time 2.364e-06/1.05, allocations: 0 / 0.9433 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21): time 0.0006991/1.051, allocations: 264 kB / 0.9436 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/1.051, allocations: 54.02 kB / 0.9436 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000201/1.051, allocations: 199.3 kB / 0.9438 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.408e-05/1.051, allocations: 30.61 kB / 0.9439 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.356e-05/1.051, allocations: 145 kB / 0.944 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.375e-05/1.051, allocations: 75.48 kB / 0.9441 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.84e-05/1.051, allocations: 55.67 kB / 0.9441 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001081/1.052, allocations: 333.3 kB / 0.9444 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/1.052, allocations: 69.48 kB / 0.9445 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001717/1.052, allocations: 169.3 kB / 0.9447 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003269/1.052, allocations: 245.9 kB / 0.9449 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/1.052, allocations: 1 kB / 0.9449 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006222/1.053, allocations: 278.5 kB / 0.9452 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/1.053, allocations: 8.906 kB / 0.9452 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/1.053, allocations: 3.625 kB / 0.9452 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.749e-05/1.053, allocations: 14.77 kB / 0.9452 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003289/1.053, allocations: 56.75 kB / 0.9453 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.58e-05/1.053, allocations: 6.406 kB / 0.9453 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002003/1.054, allocations: 31.97 kB / 0.9453 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.366e-05/1.054, allocations: 11 kB / 0.9453 GB, free: 14.85 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.0001448/1.054, allocations: 140.1 kB / 0.9454 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/1.054, allocations: 20.12 kB / 0.9455 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005662/1.054, allocations: 279.3 kB / 0.9457 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/1.054, allocations: 8.719 kB / 0.9457 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/1.054, allocations: 3.984 kB / 0.9457 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/1.054, allocations: 3.078 kB / 0.9457 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008562/1.055, allocations: 0.5829 MB / 0.9463 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/1.055, allocations: 0.5 kB / 0.9463 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001967/1.056, allocations: 35.36 kB / 0.9463 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/1.056, allocations: 1.75 kB / 0.9463 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/1.056, allocations: 9.625 kB / 0.9463 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/1.056, allocations: 3.719 kB / 0.9464 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/1.056, allocations: 4.172 kB / 0.9464 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006622/1.056, allocations: 351.9 kB / 0.9467 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/1.056, allocations: 116.5 kB / 0.9468 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.809e-05/1.056, allocations: 6.094 kB / 0.9468 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002185/1.057, allocations: 10.92 kB / 0.9468 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.554e-05/1.057, allocations: 11.23 kB / 0.9468 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.208e-05/1.057, allocations: 14 kB / 0.9468 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001319/1.057, allocations: 157.3 kB / 0.947 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/1.057, allocations: 0 / 0.947 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005796/1.057, allocations: 111.3 kB / 0.9471 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.001242/1.059, allocations: 0.9949 MB / 0.9481 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004771/1.059, allocations: 206.8 kB / 0.9483 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/1.059, allocations: 0 / 0.9483 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001809/1.059, allocations: 103 kB / 0.9484 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006481/1.06, allocations: 96.55 kB / 0.9485 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003204/1.063, allocations: 2.48 MB / 0.9509 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/1.064, allocations: 0.7384 MB / 0.9516 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002515/1.064, allocations: 57.36 kB / 0.9517 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/1.064, allocations: 55.41 kB / 0.9517 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of SimCode: time 7.82e-07/1.064, allocations: 0 / 0.9517 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02721/1.091, allocations: 7.593 MB / 0.9591 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.997/9.088, allocations: 10.92 kB / 0.9591 GB, free: 10.13 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)