Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.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.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",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 1.398/1.398, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001669/0.001669, allocations: 181.3 kB / 326.5 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.878/1.878, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.0008342/0.0008341, allocations: 99.28 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003385/0.0003386, allocations: 9.344 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.2393, allocations: 106.3 MB / 0.9001 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.164/0.4034, allocations: 143.1 MB / 1.04 GB, free: 416 kB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.005871/0.4093, allocations: 5.043 MB / 1.045 GB, free: 11.35 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000353/0.4097, allocations: 7.938 kB / 1.045 GB, free: 11.34 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004515/0.4101, allocations: 87.56 kB / 1.045 GB, free: 11.26 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0004277/0.4106, allocations: 139.6 kB / 1.045 GB, free: 11.12 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006062/0.4112, allocations: 195.4 kB / 1.045 GB, free: 10.93 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0005062/0.4117, allocations: 323.1 kB / 1.045 GB, free: 10.61 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002518/0.412, allocations: 95.02 kB / 1.046 GB, free: 10.52 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002673/0.4123, allocations: 155.4 kB / 1.046 GB, free: 10.37 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001717/0.4124, allocations: 103.5 kB / 1.046 GB, free: 10.27 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.204e-05/0.4125, allocations: 8 kB / 1.046 GB, free: 10.26 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002512/0.4127, allocations: 95.73 kB / 1.046 GB, free: 10.17 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 6.857e-05/0.4128, allocations: 51.89 kB / 1.046 GB, free: 10.12 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.45e-05/0.4129, allocations: 61.58 kB / 1.046 GB, free: 10.05 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003394/0.4132, allocations: 211.7 kB / 1.046 GB, free: 9.844 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.4133, allocations: 0 / 1.046 GB, free: 9.844 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.094e-06/0.4133, allocations: 4 kB / 1.046 GB, free: 9.84 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.4133, allocations: 4 kB / 1.046 GB, free: 9.836 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0006114/0.4139, allocations: 463.2 kB / 1.047 GB, free: 9.332 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.414, allocations: 8.031 kB / 1.047 GB, free: 9.324 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.359e-05/0.414, allocations: 66.53 kB / 1.047 GB, free: 9.25 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002666/0.4143, allocations: 43.7 kB / 1.047 GB, free: 9.207 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003112/0.4146, allocations: 250.6 kB / 1.047 GB, free: 8.922 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002087/0.4149, allocations: 139.3 kB / 1.047 GB, free: 8.762 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.87e-05/0.4149, allocations: 28 kB / 1.047 GB, free: 8.734 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004484/0.4154, allocations: 282.8 kB / 1.047 GB, free: 8.418 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.4154, allocations: 4 kB / 1.047 GB, free: 8.414 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.264e-05/0.4154, allocations: 11.98 kB / 1.047 GB, free: 8.402 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.839e-06/0.4154, allocations: 11.94 kB / 1.047 GB, free: 8.391 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000298/0.4157, allocations: 160.6 kB / 1.048 GB, free: 8.234 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001487/0.4172, allocations: 1.571 MB / 1.049 GB, free: 6.574 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.838e-05/0.4173, allocations: 173.1 kB / 1.049 GB, free: 6.395 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.943e-05/0.4174, allocations: 79.22 kB / 1.049 GB, free: 6.316 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.607e-05/0.4174, allocations: 109.8 kB / 1.05 GB, free: 6.199 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.392e-06/0.4174, allocations: 0 / 1.05 GB, free: 6.199 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 9.177e-05/0.4175, allocations: 45.42 kB / 1.05 GB, free: 6.148 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.517e-05/0.4176, allocations: 134.6 kB / 1.05 GB, free: 6.004 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003594/0.418, allocations: 310.6 kB / 1.05 GB, free: 5.688 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.418, allocations: 25.7 kB / 1.05 GB, free: 5.656 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.4181, allocations: 195.1 kB / 1.05 GB, free: 5.461 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.046e-06/0.4182, allocations: 0 / 1.05 GB, free: 5.461 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.304e-05/0.4182, allocations: 8 kB / 1.05 GB, free: 5.453 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.4183, allocations: 330.8 kB / 1.051 GB, free: 5.121 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.468e-05/0.4184, allocations: 39.97 kB / 1.051 GB, free: 5.082 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001735/0.4186, allocations: 159.2 kB / 1.051 GB, free: 4.867 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001188/0.4187, allocations: 59.91 kB / 1.051 GB, free: 4.809 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4187, allocations: 0 / 1.051 GB, free: 4.809 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004078/0.4191, allocations: 221 kB / 1.051 GB, free: 4.586 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.4192, allocations: 8 kB / 1.051 GB, free: 4.578 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.4192, allocations: 7.984 kB / 1.051 GB, free: 4.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.4192, allocations: 8 kB / 1.051 GB, free: 4.562 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.4194, allocations: 36.55 kB / 1.051 GB, free: 4.527 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.4194, allocations: 4 kB / 1.051 GB, free: 4.523 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001635/0.4196, allocations: 43.53 kB / 1.051 GB, free: 4.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.408e-05/0.4196, allocations: 8 kB / 1.051 GB, free: 4.473 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001537/0.4198, allocations: 217 kB / 1.051 GB, free: 4.25 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.242e-05/0.4198, allocations: 124.7 kB / 1.051 GB, free: 4.121 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.553e-05/0.4199, allocations: 121.8 kB / 1.052 GB, free: 3.996 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001114/0.42, allocations: 180.3 kB / 1.052 GB, free: 3.812 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.468e-05/0.4201, allocations: 188.2 kB / 1.052 GB, free: 3.621 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.586e-05/0.4202, allocations: 180.2 kB / 1.052 GB, free: 3.438 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003248/0.4206, allocations: 481.1 kB / 1.053 GB, free: 2.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.035e-05/0.4206, allocations: 105 kB / 1.053 GB, free: 2.801 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.887e-05/0.4207, allocations: 105 kB / 1.053 GB, free: 2.691 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.134e-05/0.4207, allocations: 192.2 kB / 1.053 GB, free: 2.496 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.172e-05/0.4208, allocations: 180.4 kB / 1.053 GB, free: 2.312 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.948e-05/0.4209, allocations: 184.2 kB / 1.053 GB, free: 2.125 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.269e-05/0.421, allocations: 180.3 kB / 1.053 GB, free: 1.941 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/0.4211, allocations: 323.6 kB / 1.054 GB, free: 1.602 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.4213, allocations: 205.8 kB / 1.054 GB, free: 1.375 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.512e-05/0.4214, allocations: 180.2 kB / 1.054 GB, free: 1.191 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.4215, allocations: 116.9 kB / 1.054 GB, free: 1.07 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.234e-05/0.4216, allocations: 176.3 kB / 1.054 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.462e-05/0.4216, allocations: 104.9 kB / 1.054 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002501/0.4219, allocations: 229.9 kB / 1.055 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4219, allocations: 0 / 1.055 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003601/0.4223, allocations: 43.94 kB / 1.055 GB, free: 0.5195 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.5133/0.9356, allocations: 0.8369 MB / 1.056 GB, free: 157.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003328/0.936, allocations: 81.56 kB / 1.056 GB, free: 157.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.936, allocations: 0.5625 kB / 1.056 GB, free: 157.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.41e-06/0.936, allocations: 1.844 kB / 1.056 GB, free: 157.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004981/0.9365, allocations: 0.5516 MB / 1.056 GB, free: 156.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002322/0.9388, allocations: 4.102 MB / 1.06 GB, free: 153.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002056/0.939, allocations: 0.747 MB / 1.061 GB, free: 152.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001662/0.9392, allocations: 34.77 kB / 1.061 GB, free: 152.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.779e-05/0.9393, allocations: 59.2 kB / 1.061 GB, free: 152.5 MB / 0.698 GB Notification: Performance of SimCode: time 4.81e-07/0.9393, allocations: 2.594 kB / 1.061 GB, free: 152.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01726/0.9566, allocations: 3.587 MB / 1.065 GB, free: 152.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001678/0.9568, allocations: 193.8 kB / 1.065 GB, free: 152.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.734/2.691, allocations: 0 / 1.065 GB, free: 152.1 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1)