Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.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.AirDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_AirDerivativeCheck",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.22/2.22, allocations: 252 MB / 267.3 MB, free: 10.84 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.001673/0.001673, allocations: 174.7 kB / 327 MB, free: 2.105 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.721/2.721, allocations: 205.4 MB / 0.578 GB, free: 20.14 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.001252/0.001252, allocations: 90.36 kB / 0.6826 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005333/0.0005335, allocations: 6.625 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2676/0.2681, allocations: 106.3 MB / 0.9009 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001814/0.27, allocations: 1.059 MB / 0.9019 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2366/0.5067, allocations: 144.3 MB / 1.043 GB, free: 13.56 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.866e-05/0.5068, allocations: 0 / 1.043 GB, free: 13.56 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 5.877e-05/0.5069, allocations: 3.984 kB / 1.043 GB, free: 13.55 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001628/0.5071, allocations: 15.92 kB / 1.043 GB, free: 13.54 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001697/0.5088, allocations: 302.8 kB / 1.043 GB, free: 13.24 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001903/0.509, allocations: 79.69 kB / 1.043 GB, free: 13.16 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 6.482e-05/0.5091, allocations: 8 kB / 1.043 GB, free: 13.16 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.748e-05/0.5092, allocations: 27.97 kB / 1.043 GB, free: 13.13 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.5093, allocations: 35.83 kB / 1.043 GB, free: 13.09 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.5094, allocations: 4 kB / 1.043 GB, free: 13.09 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001495/0.5109, allocations: 0.4908 MB / 1.044 GB, free: 12.6 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 7.755e-05/0.511, allocations: 15.98 kB / 1.044 GB, free: 12.58 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 8.289e-05/0.5111, allocations: 53.55 kB / 1.044 GB, free: 12.52 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005919/0.5117, allocations: 179.9 kB / 1.044 GB, free: 12.35 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.5117, allocations: 4 kB / 1.044 GB, free: 12.34 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.194e-06/0.5117, allocations: 0 / 1.044 GB, free: 12.34 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.5117, allocations: 0 / 1.044 GB, free: 12.34 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006218/0.5124, allocations: 363.4 kB / 1.044 GB, free: 11.94 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.137e-05/0.5125, allocations: 20.02 kB / 1.044 GB, free: 11.92 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.331e-05/0.5125, allocations: 38.69 kB / 1.044 GB, free: 11.88 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006885/0.5132, allocations: 40.81 kB / 1.044 GB, free: 11.84 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.5134, allocations: 168.1 kB / 1.045 GB, free: 11.63 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.5134, allocations: 4 kB / 1.045 GB, free: 11.63 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.089e-05/0.5135, allocations: 8 kB / 1.045 GB, free: 11.62 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002369/0.5137, allocations: 81.59 kB / 1.045 GB, free: 11.54 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.5138, allocations: 0 / 1.045 GB, free: 11.54 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.487e-05/0.5138, allocations: 11.98 kB / 1.045 GB, free: 11.52 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.5138, allocations: 4 kB / 1.045 GB, free: 11.52 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.514, allocations: 47.89 kB / 1.045 GB, free: 11.47 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002832/0.5143, allocations: 193.4 kB / 1.045 GB, free: 11.23 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002499/0.5145, allocations: 90.69 kB / 1.045 GB, free: 11.14 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.671e-05/0.5146, allocations: 32.84 kB / 1.045 GB, free: 11.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000312/0.5149, allocations: 182.2 kB / 1.045 GB, free: 10.89 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.053e-05/0.515, allocations: 42.5 kB / 1.045 GB, free: 10.84 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 1.743e-06/0.515, allocations: 0 / 1.045 GB, free: 10.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.001886/0.5169, allocations: 0.5397 MB / 1.046 GB, free: 10.25 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/0.517, allocations: 55.41 kB / 1.046 GB, free: 10.18 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.69e-05/0.5171, allocations: 101.7 kB / 1.046 GB, free: 10.07 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.084e-05/0.5171, allocations: 29.7 kB / 1.046 GB, free: 10.04 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.56e-05/0.5172, allocations: 80.52 kB / 1.046 GB, free: 9.953 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.078e-05/0.5173, allocations: 74.98 kB / 1.046 GB, free: 9.879 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.257e-05/0.5173, allocations: 4 kB / 1.046 GB, free: 9.875 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.5175, allocations: 319 kB / 1.046 GB, free: 9.555 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.5176, allocations: 39.97 kB / 1.046 GB, free: 9.516 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.5177, allocations: 71.34 kB / 1.047 GB, free: 9.434 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002432/0.518, allocations: 107.4 kB / 1.047 GB, free: 9.316 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.518, allocations: 0 / 1.047 GB, free: 9.316 MB / 0.698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003479/0.5184, allocations: 161.4 kB / 1.047 GB, free: 9.152 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.5184, allocations: 10.5 kB / 1.047 GB, free: 9.145 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.5184, allocations: 4 kB / 1.047 GB, free: 9.141 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.5184, allocations: 0 / 1.047 GB, free: 9.141 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002502/0.5187, allocations: 39.92 kB / 1.047 GB, free: 9.102 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.5187, allocations: 3.938 kB / 1.047 GB, free: 9.098 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.288e-05/0.5188, allocations: 8 kB / 1.047 GB, free: 9.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/0.5188, allocations: 4.156 kB / 1.047 GB, free: 9.086 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001263/0.519, allocations: 121.8 kB / 1.047 GB, free: 8.957 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.901e-05/0.519, allocations: 11.91 kB / 1.047 GB, free: 8.945 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.797e-05/0.5191, allocations: 20.44 kB / 1.047 GB, free: 8.926 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.5191, allocations: 3.938 kB / 1.047 GB, free: 8.922 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.5191, allocations: 8 kB / 1.047 GB, free: 8.914 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.5191, allocations: 4 kB / 1.047 GB, free: 8.91 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000233/0.5194, allocations: 193.6 kB / 1.047 GB, free: 8.672 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.5194, allocations: 0 / 1.047 GB, free: 8.672 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002879/0.5197, allocations: 35.98 kB / 1.047 GB, free: 8.637 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.5197, allocations: 3.984 kB / 1.047 GB, free: 8.633 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.5197, allocations: 8 kB / 1.047 GB, free: 8.625 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.5197, allocations: 0 / 1.047 GB, free: 8.625 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.5198, allocations: 11.92 kB / 1.047 GB, free: 8.613 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004243/0.5202, allocations: 200.9 kB / 1.047 GB, free: 8.398 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.5203, allocations: 93 kB / 1.048 GB, free: 8.289 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.713e-05/0.5204, allocations: 4.062 kB / 1.048 GB, free: 8.285 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001776/0.5205, allocations: 11.98 kB / 1.048 GB, free: 8.273 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/0.5206, allocations: 11.92 kB / 1.048 GB, free: 8.262 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/0.5206, allocations: 8 kB / 1.048 GB, free: 8.254 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.142e-05/0.5207, allocations: 83.28 kB / 1.048 GB, free: 8.172 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.6e-07/0.5207, allocations: 0 / 1.048 GB, free: 8.172 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003785/0.5211, allocations: 24 kB / 1.048 GB, free: 8.148 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * 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): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0009632/0.522, allocations: 0.7532 MB / 1.048 GB, free: 7.371 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003304/0.5224, allocations: 112 kB / 1.049 GB, free: 7.262 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.5224, allocations: 0 / 1.049 GB, free: 7.262 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001396/0.5226, allocations: 55.91 kB / 1.049 GB, free: 7.207 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003738/0.523, allocations: 17.48 kB / 1.049 GB, free: 7.191 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003101/0.5261, allocations: 1.932 MB / 1.05 GB, free: 5.164 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003725/0.5265, allocations: 0.6972 MB / 1.051 GB, free: 4.441 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000251/0.5267, allocations: 28.62 kB / 1.051 GB, free: 4.41 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.185e-05/0.5268, allocations: 27.42 kB / 1.051 GB, free: 4.383 MB / 0.698 GB Notification: Performance of SimCode: time 5.91e-07/0.5269, allocations: 0 / 1.051 GB, free: 4.383 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06267/0.5895, allocations: 2.168 MB / 1.053 GB, free: 2.332 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003257/0.5899, allocations: 200.7 kB / 1.054 GB, free: 2.078 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.915/3.505, allocations: 4 kB / 1.054 GB, free: 2.074 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Media_Examples_AirDerivativeCheck.fmu > Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1)