Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 2.28/2.28, allocations: 252 MB / 267.3 MB, free: 10.8 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0022/0.0022, allocations: 164.5 kB / 327 MB, free: 2.07 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.684/2.684, allocations: 205.4 MB / 0.578 GB, free: 20.06 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009994/0.0009994, allocations: 86.31 kB / 0.6826 GB, free: 12.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004671/0.0004674, allocations: 12.66 kB / 0.797 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.2587, allocations: 106.3 MB / 0.9009 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.2128/0.4715, allocations: 145 MB / 1.042 GB, free: 13.66 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01139/0.4829, allocations: 7.097 MB / 1.049 GB, free: 6.539 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002077/0.4832, allocations: 7.938 kB / 1.049 GB, free: 6.531 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.000428/0.4836, allocations: 59.69 kB / 1.049 GB, free: 6.473 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0004796/0.4841, allocations: 155.2 kB / 1.05 GB, free: 6.32 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003228/0.4874, allocations: 0.9254 MB / 1.051 GB, free: 5.395 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0008043/0.4882, allocations: 0.5462 MB / 1.051 GB, free: 4.844 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 6.124e-05/0.4883, allocations: 13.67 kB / 1.051 GB, free: 4.832 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005186/0.4888, allocations: 207.2 kB / 1.051 GB, free: 4.629 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002951/0.4891, allocations: 143.5 kB / 1.051 GB, free: 4.488 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.994e-05/0.4892, allocations: 8 kB / 1.051 GB, free: 4.48 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003337/0.4925, allocations: 1.516 MB / 1.053 GB, free: 2.961 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000135/0.4927, allocations: 71.78 kB / 1.053 GB, free: 2.891 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002074/0.4929, allocations: 141.2 kB / 1.053 GB, free: 2.746 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001773/0.4947, allocations: 0.7325 MB / 1.054 GB, free: 2.012 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.4947, allocations: 0 / 1.054 GB, free: 2.012 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.425e-06/0.4947, allocations: 0 / 1.054 GB, free: 2.012 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.4947, allocations: 4 kB / 1.054 GB, free: 2.008 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.00128/0.496, allocations: 0.5499 MB / 1.054 GB, free: 1.41 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.589e-05/0.4961, allocations: 12.03 kB / 1.054 GB, free: 1.398 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.356e-05/0.4962, allocations: 54.73 kB / 1.054 GB, free: 1.336 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00165/0.4978, allocations: 140.5 kB / 1.055 GB, free: 1.199 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003451/0.4982, allocations: 227.8 kB / 1.055 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.84e-05/0.4982, allocations: 12.44 kB / 1.055 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.685e-05/0.4983, allocations: 20 kB / 1.055 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007295/0.499, allocations: 339.4 kB / 1.055 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.499, allocations: 4 kB / 1.055 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.87e-05/0.4991, allocations: 8 kB / 1.055 GB, free: 0.543 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.184e-05/0.4991, allocations: 16.38 kB / 1.055 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007542/0.4999, allocations: 324.9 kB / 1.055 GB, free: 216 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5351/1.035, allocations: 1.184 MB / 1.057 GB, free: 156.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008395/1.036, allocations: 187.7 kB / 1.057 GB, free: 156.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002183/1.036, allocations: 80.69 kB / 1.057 GB, free: 156.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006996/1.037, allocations: 463.8 kB / 1.057 GB, free: 155.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/1.037, allocations: 33.88 kB / 1.057 GB, free: 155.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=20): time 3.387e-06/1.037, allocations: 0 / 1.057 GB, free: 155.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=20): time 0.001071/1.038, allocations: 257.7 kB / 1.058 GB, free: 155.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/1.038, allocations: 53.78 kB / 1.058 GB, free: 155.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003094/1.038, allocations: 220.4 kB / 1.058 GB, free: 155.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.961e-05/1.038, allocations: 32.42 kB / 1.058 GB, free: 155.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.988e-05/1.039, allocations: 149.1 kB / 1.058 GB, free: 155.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.452e-05/1.039, allocations: 64.62 kB / 1.058 GB, free: 155.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.042e-05/1.039, allocations: 3.438 kB / 1.058 GB, free: 155.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.158e-05/1.039, allocations: 341.4 kB / 1.058 GB, free: 155 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001822/1.039, allocations: 68.34 kB / 1.059 GB, free: 155 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002718/1.039, allocations: 163 kB / 1.059 GB, free: 154.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004802/1.04, allocations: 256.6 kB / 1.059 GB, free: 154.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/1.04, allocations: 3.25 kB / 1.059 GB, free: 154.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008649/1.041, allocations: 284.3 kB / 1.059 GB, free: 154.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/1.041, allocations: 6 kB / 1.059 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/1.041, allocations: 5.344 kB / 1.059 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.413e-05/1.041, allocations: 2.938 kB / 1.059 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004094/1.041, allocations: 59.16 kB / 1.059 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.451e-05/1.041, allocations: 3.938 kB / 1.059 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003833/1.042, allocations: 36.59 kB / 1.059 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.826e-05/1.042, allocations: 17.23 kB / 1.059 GB, free: 154.7 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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.0001751/1.042, allocations: 146.3 kB / 1.059 GB, free: 154.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002214/1.042, allocations: 24.77 kB / 1.059 GB, free: 154.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006404/1.043, allocations: 260.7 kB / 1.06 GB, free: 154.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/1.043, allocations: 2.156 kB / 1.06 GB, free: 154.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/1.043, allocations: 0 / 1.06 GB, free: 154.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/1.043, allocations: 1.172 kB / 1.06 GB, free: 154.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009194/1.044, allocations: 0.573 MB / 1.06 GB, free: 154.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/1.044, allocations: 3.938 kB / 1.06 GB, free: 154.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002635/1.044, allocations: 34.73 kB / 1.06 GB, free: 154.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/1.044, allocations: 3.219 kB / 1.06 GB, free: 154.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.598e-05/1.044, allocations: 6.75 kB / 1.06 GB, free: 154.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/1.044, allocations: 0 / 1.06 GB, free: 154.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/1.044, allocations: 4.875 kB / 1.06 GB, free: 154.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006835/1.045, allocations: 336.7 kB / 1.061 GB, free: 154.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001626/1.045, allocations: 125.1 kB / 1.061 GB, free: 153.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.648e-05/1.045, allocations: 3.672 kB / 1.061 GB, free: 153.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004155/1.045, allocations: 15.33 kB / 1.061 GB, free: 153.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.404e-05/1.046, allocations: 13.27 kB / 1.061 GB, free: 153.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.043e-05/1.046, allocations: 15.19 kB / 1.061 GB, free: 153.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001825/1.046, allocations: 161.3 kB / 1.061 GB, free: 153.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.9e-07/1.046, allocations: 3.531 kB / 1.061 GB, free: 153.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008198/1.047, allocations: 116.3 kB / 1.061 GB, free: 153.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (18): * Single equations (assignments): 16 * 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.001465/1.048, allocations: 0.9716 MB / 1.062 GB, free: 153.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005431/1.049, allocations: 199.8 kB / 1.062 GB, free: 153.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.049, allocations: 2.844 kB / 1.062 GB, free: 153.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002264/1.049, allocations: 98.02 kB / 1.062 GB, free: 153.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/1.05, allocations: 99.52 kB / 1.062 GB, free: 153.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004249/1.054, allocations: 2.6 MB / 1.065 GB, free: 151.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/1.055, allocations: 0.7357 MB / 1.066 GB, free: 150.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005524/1.055, allocations: 61.8 kB / 1.066 GB, free: 150.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001773/1.055, allocations: 59.97 kB / 1.066 GB, free: 150.8 MB / 0.698 GB Notification: Performance of SimCode: time 7.42e-07/1.055, allocations: 0 / 1.066 GB, free: 150.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07488/1.13, allocations: 7.354 MB / 1.073 GB, free: 149.6 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003337/1.131, allocations: 201.2 kB / 1.073 GB, free: 149.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.267/4.398, allocations: 0 / 1.073 GB, free: 149.4 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Media_Examples_AirProperties.fmu > Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.pipe 2>&1)