Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Examples.AirProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.75/2.75, allocations: 287.3 MB / 302.3 MB, free: 8.395 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001686/0.001686, allocations: 185.1 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.226/2.226, allocations: 205.4 MB / 0.6295 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001233/0.001233, allocations: 96.55 kB / 0.7428 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006524/0.0006526, allocations: 14.34 kB / 0.8657 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2835, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.936/1.22, allocations: 125.9 MB / 1.101 GB, free: 2.031 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01198/1.232, allocations: 4.564 MB / 1.106 GB, free: 1.734 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002956/1.232, allocations: 1 kB / 1.106 GB, free: 1.734 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.000382/1.232, allocations: 49.27 kB / 1.106 GB, free: 1.727 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0004972/1.233, allocations: 93.56 kB / 1.106 GB, free: 1.727 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003982/1.237, allocations: 0.6566 MB / 1.106 GB, free: 1.688 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0006141/1.238, allocations: 187.9 kB / 1.107 GB, free: 1.684 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 8.093e-05/1.238, allocations: 9.531 kB / 1.107 GB, free: 1.684 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006907/1.238, allocations: 158.3 kB / 1.107 GB, free: 1.66 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000306/1.239, allocations: 93.61 kB / 1.107 GB, free: 1.645 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 5.386e-05/1.239, allocations: 9.062 kB / 1.107 GB, free: 1.645 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003882/1.243, allocations: 0.672 MB / 1.108 GB, free: 1.609 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002345/1.243, allocations: 57.97 kB / 1.108 GB, free: 1.605 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002907/1.243, allocations: 63.17 kB / 1.108 GB, free: 17.57 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001824/1.245, allocations: 373.7 kB / 1.108 GB, free: 17.54 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/1.245, allocations: 0 / 1.108 GB, free: 17.54 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.585e-06/1.245, allocations: 0 / 1.108 GB, free: 17.54 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.867e-06/1.245, allocations: 0 / 1.108 GB, free: 17.54 MB / 0.698 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.001958/1.247, allocations: 0.5466 MB / 1.109 GB, free: 17.09 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.875e-05/1.247, allocations: 14.75 kB / 1.109 GB, free: 17.09 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001456/1.247, allocations: 56.33 kB / 1.109 GB, free: 17.05 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002594/1.25, allocations: 133.8 kB / 1.109 GB, free: 17.04 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006477/1.251, allocations: 219.2 kB / 1.109 GB, free: 16.83 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.186e-05/1.251, allocations: 13.34 kB / 1.109 GB, free: 16.83 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.992e-05/1.251, allocations: 17.38 kB / 1.109 GB, free: 16.83 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/1.253, allocations: 331.6 kB / 1.109 GB, free: 16.75 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.826e-05/1.253, allocations: 1.125 kB / 1.109 GB, free: 16.75 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/1.253, allocations: 15.14 kB / 1.109 GB, free: 16.75 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.953e-05/1.253, allocations: 20.56 kB / 1.109 GB, free: 16.74 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00152/1.254, allocations: 319.8 kB / 1.11 GB, free: 16.74 MB / 0.698 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.004274/1.259, allocations: 1.109 MB / 1.111 GB, free: 15.96 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/1.26, allocations: 189.1 kB / 1.111 GB, free: 15.94 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001274/1.261, allocations: 458.3 kB / 1.111 GB, free: 15.47 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.218e-05/1.262, allocations: 40.7 kB / 1.111 GB, free: 15.43 MB / 0.698 GB Notification: Performance of pre-optimization done (n=21): time 5.46e-06/1.262, allocations: 0 / 1.111 GB, free: 15.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=21): time 0.001857/1.263, allocations: 338.8 kB / 1.112 GB, free: 15.29 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.048e-05/1.264, allocations: 52.41 kB / 1.112 GB, free: 15.23 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005115/1.264, allocations: 208.7 kB / 1.112 GB, free: 15.12 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.44e-05/1.264, allocations: 31.58 kB / 1.112 GB, free: 15.09 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/1.264, allocations: 141.5 kB / 1.112 GB, free: 14.97 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/1.265, allocations: 68.22 kB / 1.112 GB, free: 14.93 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.201e-05/1.265, allocations: 4.062 kB / 1.112 GB, free: 14.93 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002212/1.265, allocations: 338 kB / 1.112 GB, free: 14.61 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003322/1.265, allocations: 70.84 kB / 1.113 GB, free: 14.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004269/1.266, allocations: 153.6 kB / 1.113 GB, free: 14.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004289/1.266, allocations: 91.77 kB / 1.113 GB, free: 14.49 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.969e-06/1.266, allocations: 1.562 kB / 1.113 GB, free: 14.49 MB / 0.698 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001494/1.268, allocations: 285.2 kB / 1.113 GB, free: 14.43 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.827e-05/1.268, allocations: 7.234 kB / 1.113 GB, free: 14.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.186e-05/1.268, allocations: 7.297 kB / 1.113 GB, free: 14.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.451e-05/1.268, allocations: 9 kB / 1.113 GB, free: 14.42 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008018/1.269, allocations: 57.34 kB / 1.113 GB, free: 14.42 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.454e-05/1.269, allocations: 8.797 kB / 1.113 GB, free: 14.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006033/1.269, allocations: 35.98 kB / 1.113 GB, free: 14.39 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.082e-05/1.269, allocations: 13.52 kB / 1.113 GB, free: 14.39 MB / 0.698 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.0003223/1.27, allocations: 142.7 kB / 1.113 GB, free: 14.27 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003264/1.27, allocations: 21.91 kB / 1.113 GB, free: 14.26 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00122/1.271, allocations: 274.3 kB / 1.114 GB, free: 14.21 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.572e-05/1.271, allocations: 6.375 kB / 1.114 GB, free: 14.21 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/1.271, allocations: 1.344 kB / 1.114 GB, free: 14.21 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/1.271, allocations: 1.359 kB / 1.114 GB, free: 14.21 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002018/1.273, allocations: 0.5763 MB / 1.114 GB, free: 13.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/1.274, allocations: 2.188 kB / 1.114 GB, free: 13.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004757/1.274, allocations: 39.05 kB / 1.114 GB, free: 13.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.238e-05/1.274, allocations: 4.75 kB / 1.114 GB, free: 13.88 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.5e-05/1.274, allocations: 9.969 kB / 1.114 GB, free: 13.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.097e-06/1.274, allocations: 3.656 kB / 1.114 GB, free: 13.88 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/1.274, allocations: 0 / 1.114 GB, free: 13.88 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001389/1.276, allocations: 377.2 kB / 1.115 GB, free: 13.67 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003736/1.276, allocations: 122.3 kB / 1.115 GB, free: 13.56 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/1.276, allocations: 2.391 kB / 1.115 GB, free: 13.56 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006048/1.277, allocations: 10.53 kB / 1.115 GB, free: 13.56 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.515e-05/1.277, allocations: 14.12 kB / 1.115 GB, free: 13.56 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-05/1.277, allocations: 18.78 kB / 1.115 GB, free: 13.56 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003311/1.277, allocations: 150.5 kB / 1.115 GB, free: 13.48 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.01e-07/1.277, allocations: 0 / 1.115 GB, free: 13.48 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001334/1.279, allocations: 115.5 kB / 1.115 GB, free: 13.46 MB / 0.698 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.00256/1.281, allocations: 1.13 MB / 1.116 GB, free: 12.58 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009525/1.282, allocations: 200.2 kB / 1.116 GB, free: 12.57 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.677e-06/1.282, allocations: 1.438 kB / 1.116 GB, free: 12.57 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003839/1.283, allocations: 101.5 kB / 1.116 GB, free: 12.57 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001411/1.284, allocations: 86.39 kB / 1.116 GB, free: 12.56 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005446/1.29, allocations: 3.141 MB / 1.12 GB, free: 10.11 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006052/1.29, allocations: 0.7468 MB / 1.12 GB, free: 9.406 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009064/1.291, allocations: 58.45 kB / 1.12 GB, free: 9.383 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002599/1.292, allocations: 62.59 kB / 1.12 GB, free: 9.371 MB / 0.698 GB Notification: Performance of SimCode: time 1.623e-06/1.292, allocations: 0 / 1.12 GB, free: 9.371 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03862/1.33, allocations: 6.996 MB / 1.127 GB, free: 8.305 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003581/1.331, allocations: 169.6 kB / 1.127 GB, free: 8.062 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.728/4.059, allocations: 0 / 1.127 GB, free: 8.062 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Media_Examples_AirProperties.fmu > Buildings_8.0.0_Buildings.Media.Examples.AirProperties.pipe 2>&1)