Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.858/1.858, allocations: 285.4 MB / 298 MB, free: 5.977 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.001156/0.001156, allocations: 184.8 kB / 366.4 MB, free: 2.078 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.817/1.817, allocations: 205.1 MB / 0.6248 GB, free: 7.723 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009203/0.0009199, allocations: 94.05 kB / 0.738 GB, free: 40.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.106e-05/4.147e-05, allocations: 7.984 kB / 0.8584 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7622/0.7623, allocations: 115.3 MB / 0.971 GB, free: 77.78 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.424/6.186, allocations: 2.089 GB / 3.06 GB, free: 6.473 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002194/6.187, allocations: 71.33 kB / 3.06 GB, free: 6.438 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.745/6.932, allocations: 29.99 MB / 3.089 GB, free: 346.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.503e-06/6.932, allocations: 0 / 3.089 GB, free: 346.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.862e-06/6.932, allocations: 0 / 3.089 GB, free: 346.2 MB / 0.948 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.0003998/6.932, allocations: 381.6 kB / 3.089 GB, free: 345.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/6.932, allocations: 8.625 kB / 3.089 GB, free: 345.8 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.189e-05/6.932, allocations: 44.05 kB / 3.089 GB, free: 345.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003778/6.933, allocations: 33.27 kB / 3.089 GB, free: 345.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.682e-05/6.933, allocations: 167.8 kB / 3.09 GB, free: 345.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/6.933, allocations: 0 / 3.09 GB, free: 345.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.459e-05/6.933, allocations: 16.56 kB / 3.09 GB, free: 345.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/6.933, allocations: 72.97 kB / 3.09 GB, free: 345.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/6.933, allocations: 4.812 kB / 3.09 GB, free: 345.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/6.933, allocations: 5.094 kB / 3.09 GB, free: 345.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/6.933, allocations: 5.016 kB / 3.09 GB, free: 345.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/6.933, allocations: 37.7 kB / 3.09 GB, free: 345.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001976/6.933, allocations: 183.2 kB / 3.09 GB, free: 345.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/6.934, allocations: 91.94 kB / 3.09 GB, free: 345.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.416e-05/6.934, allocations: 29.44 kB / 3.09 GB, free: 345.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002264/6.934, allocations: 175.4 kB / 3.09 GB, free: 345.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/6.934, allocations: 40.03 kB / 3.09 GB, free: 345 MB / 0.948 GB Notification: Performance of pre-optimization done (n=12): time 1.302e-06/6.934, allocations: 0 / 3.09 GB, free: 345 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.001285/6.935, allocations: 0.5051 MB / 3.091 GB, free: 344.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/6.935, allocations: 62.64 kB / 3.091 GB, free: 344.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.809e-05/6.935, allocations: 92.58 kB / 3.091 GB, free: 344.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/6.935, allocations: 31.83 kB / 3.091 GB, free: 344.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.184e-05/6.935, allocations: 80.52 kB / 3.091 GB, free: 344.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.588e-05/6.935, allocations: 69 kB / 3.091 GB, free: 344.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.877e-06/6.935, allocations: 5.219 kB / 3.091 GB, free: 344.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.065e-05/6.936, allocations: 319.8 kB / 3.091 GB, free: 344 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.2e-05/6.936, allocations: 31.61 kB / 3.091 GB, free: 344 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.583e-05/6.936, allocations: 72.34 kB / 3.091 GB, free: 344 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.662e-05/6.936, allocations: 40.83 kB / 3.092 GB, free: 344 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/6.936, allocations: 1.062 kB / 3.092 GB, free: 344 MB / 0.948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002401/6.936, allocations: 158 kB / 3.092 GB, free: 343.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/6.936, allocations: 7.344 kB / 3.092 GB, free: 343.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/6.936, allocations: 1.797 kB / 3.092 GB, free: 343.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/6.936, allocations: 8.641 kB / 3.092 GB, free: 343.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002131/6.936, allocations: 39.38 kB / 3.092 GB, free: 343.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/6.936, allocations: 14.11 kB / 3.092 GB, free: 343.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.553e-05/6.936, allocations: 9.312 kB / 3.092 GB, free: 343.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/6.936, allocations: 8.203 kB / 3.092 GB, free: 343.9 MB / 0.948 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.016e-05/6.936, allocations: 112.1 kB / 3.092 GB, free: 343.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.092e-05/6.937, allocations: 8.812 kB / 3.092 GB, free: 343.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.846e-05/6.937, allocations: 17.83 kB / 3.092 GB, free: 343.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/6.937, allocations: 2.281 kB / 3.092 GB, free: 343.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/6.937, allocations: 4.406 kB / 3.092 GB, free: 343.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/6.937, allocations: 9.547 kB / 3.092 GB, free: 343.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/6.937, allocations: 193.1 kB / 3.092 GB, free: 343.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/6.937, allocations: 0.6562 kB / 3.092 GB, free: 343.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002121/6.937, allocations: 35.12 kB / 3.092 GB, free: 343.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/6.937, allocations: 1.281 kB / 3.092 GB, free: 343.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/6.937, allocations: 5.672 kB / 3.092 GB, free: 343.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/6.937, allocations: 1.125 kB / 3.092 GB, free: 343.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/6.937, allocations: 0.7031 kB / 3.092 GB, free: 343.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003383/6.937, allocations: 213.4 kB / 3.092 GB, free: 343.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.396e-05/6.937, allocations: 91.42 kB / 3.092 GB, free: 343.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/6.938, allocations: 2.016 kB / 3.092 GB, free: 343.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/6.938, allocations: 8.859 kB / 3.092 GB, free: 343.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.817e-05/6.938, allocations: 9.953 kB / 3.092 GB, free: 343.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/6.938, allocations: 8.688 kB / 3.092 GB, free: 343.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.675e-05/6.938, allocations: 79.11 kB / 3.093 GB, free: 343.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.2e-07/6.938, allocations: 0 / 3.093 GB, free: 343.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0004118/6.938, allocations: 68.58 kB / 3.093 GB, free: 343.2 MB / 0.948 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 () * 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 (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.001254/6.939, allocations: 1.192 MB / 3.094 GB, free: 342.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002425/6.94, allocations: 104.9 kB / 3.094 GB, free: 342.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/6.94, allocations: 1.281 kB / 3.094 GB, free: 342.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.475e-05/6.94, allocations: 50.72 kB / 3.094 GB, free: 342.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001669/6.94, allocations: 11.69 kB / 3.094 GB, free: 342.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009304/6.941, allocations: 0.505 MB / 3.094 GB, free: 341.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002277/6.941, allocations: 0.71 MB / 3.095 GB, free: 341.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001408/6.941, allocations: 27.67 kB / 3.095 GB, free: 341.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.14e-05/6.941, allocations: 25.48 kB / 3.095 GB, free: 341.2 MB / 0.948 GB Notification: Performance of SimCode: time 2.4e-07/6.941, allocations: 0 / 3.095 GB, free: 341.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04599/6.987, allocations: 12.84 MB / 3.108 GB, free: 340.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001632/6.988, allocations: 158.4 kB / 3.108 GB, free: 340.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.987/8.975, allocations: 4 kB / 3.108 GB, free: 340.1 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Media_Examples_AirDerivativeCheck.fmu > Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1)