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 1.494/1.494, allocations: 249.5 MB / 257 MB, free: 6.875 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001111/0.001111, allocations: 179.5 kB / 316.3 MB, free: 3.199 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.659/1.659, allocations: 205.3 MB / 0.5671 GB, free: 15.84 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.0009786/0.0009785, allocations: 89.77 kB / 0.6714 GB, free: 4.953 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.879e-05/1.899e-05, allocations: 0 / 0.7814 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.216, allocations: 106.3 MB / 0.8853 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.686/6.902, allocations: 2.208 GB / 3.093 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002451/6.903, allocations: 67.22 kB / 3.094 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.05416/6.957, allocations: 29.07 MB / 3.122 GB, free: 134.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.262e-06/6.957, allocations: 0 / 3.122 GB, free: 134.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.709e-06/6.957, allocations: 0 / 3.122 GB, free: 134.4 MB / 0.8698 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.000312/6.957, allocations: 378.2 kB / 3.122 GB, free: 134 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/6.957, allocations: 8.031 kB / 3.122 GB, free: 134 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003335/6.958, allocations: 43.69 kB / 3.122 GB, free: 134 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.804e-05/6.958, allocations: 167 kB / 3.122 GB, free: 133.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/6.958, allocations: 0 / 3.122 GB, free: 133.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.563e-05/6.958, allocations: 4 kB / 3.122 GB, free: 133.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000102/6.958, allocations: 38.91 kB / 3.123 GB, free: 133.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/6.958, allocations: 72.53 kB / 3.123 GB, free: 133.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/6.958, allocations: 0 / 3.123 GB, free: 133.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/6.958, allocations: 0 / 3.123 GB, free: 133.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/6.958, allocations: 11.94 kB / 3.123 GB, free: 133.7 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001574/6.958, allocations: 157.4 kB / 3.123 GB, free: 133.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/6.958, allocations: 73.19 kB / 3.123 GB, free: 133.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.543e-05/6.958, allocations: 28.12 kB / 3.123 GB, free: 133.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001848/6.959, allocations: 178.2 kB / 3.123 GB, free: 133.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/6.959, allocations: 34.06 kB / 3.123 GB, free: 133.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/6.959, allocations: 0 / 3.123 GB, free: 133.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=19): time 0.001036/6.96, allocations: 499.2 kB / 3.124 GB, free: 132.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.022e-05/6.96, allocations: 51.41 kB / 3.124 GB, free: 132.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.029e-05/6.96, allocations: 92.56 kB / 3.124 GB, free: 132.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/6.96, allocations: 25.7 kB / 3.124 GB, free: 132.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 1.547e-05/6.96, allocations: 80.52 kB / 3.124 GB, free: 132.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.923e-05/6.96, allocations: 66.62 kB / 3.124 GB, free: 132.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.553e-06/6.96, allocations: 8.062 kB / 3.124 GB, free: 132.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.077e-05/6.96, allocations: 326.4 kB / 3.124 GB, free: 132 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.458e-05/6.96, allocations: 34.92 kB / 3.124 GB, free: 131.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.707e-05/6.96, allocations: 60.08 kB / 3.124 GB, free: 131.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.517e-05/6.96, allocations: 35.23 kB / 3.124 GB, free: 131.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/6.96, allocations: 3.938 kB / 3.124 GB, free: 131.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001583/6.96, allocations: 140.1 kB / 3.124 GB, free: 131.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/6.96, allocations: 8 kB / 3.124 GB, free: 131.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/6.96, allocations: 4 kB / 3.124 GB, free: 131.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/6.96, allocations: 0 / 3.124 GB, free: 131.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/6.96, allocations: 35.98 kB / 3.124 GB, free: 131.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/6.96, allocations: 4 kB / 3.124 GB, free: 131.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.154e-05/6.96, allocations: 0 / 3.124 GB, free: 131.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/6.96, allocations: 11.88 kB / 3.124 GB, free: 131.7 MB / 0.8698 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 5.744e-05/6.961, allocations: 108.9 kB / 3.125 GB, free: 131.6 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001229/6.961, allocations: 116.1 kB / 3.125 GB, free: 131.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.287e-05/6.961, allocations: 8 kB / 3.125 GB, free: 131.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.415e-05/6.961, allocations: 11.97 kB / 3.125 GB, free: 131.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/6.961, allocations: 0 / 3.125 GB, free: 131.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/6.961, allocations: 4 kB / 3.125 GB, free: 131.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/6.961, allocations: 0 / 3.125 GB, free: 131.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.902e-05/6.961, allocations: 168.3 kB / 3.125 GB, free: 131.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/6.961, allocations: 0 / 3.125 GB, free: 131.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001802/6.961, allocations: 31.98 kB / 3.125 GB, free: 131.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/6.961, allocations: 4 kB / 3.125 GB, free: 131.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/6.961, allocations: 3.938 kB / 3.125 GB, free: 131.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/6.961, allocations: 7.938 kB / 3.125 GB, free: 131.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/6.961, allocations: 0 / 3.125 GB, free: 131.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002144/6.961, allocations: 198 kB / 3.125 GB, free: 131 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.708e-05/6.961, allocations: 89 kB / 3.125 GB, free: 130.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/6.961, allocations: 0 / 3.125 GB, free: 130.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/6.962, allocations: 4 kB / 3.125 GB, free: 130.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.5e-05/6.962, allocations: 11.48 kB / 3.125 GB, free: 130.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/6.962, allocations: 7.984 kB / 3.125 GB, free: 130.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 1.888e-05/6.962, allocations: 83.28 kB / 3.125 GB, free: 130.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/6.962, allocations: 0 / 3.125 GB, free: 130.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000277/6.962, allocations: 54.11 kB / 3.125 GB, free: 130.8 MB / 0.8698 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.000831/6.963, allocations: 1.274 MB / 3.127 GB, free: 129.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001413/6.963, allocations: 85.11 kB / 3.127 GB, free: 129.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/6.963, allocations: 4 kB / 3.127 GB, free: 129.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.895e-05/6.963, allocations: 46.44 kB / 3.127 GB, free: 129.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001636/6.963, allocations: 11.94 kB / 3.127 GB, free: 129.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000687/6.964, allocations: 497.9 kB / 3.127 GB, free: 128.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000116/6.964, allocations: 0.7008 MB / 3.128 GB, free: 128.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001237/6.964, allocations: 32.52 kB / 3.128 GB, free: 128.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.538e-05/6.964, allocations: 23.67 kB / 3.128 GB, free: 128.1 MB / 0.8698 GB Notification: Performance of SimCode: time 3.8e-07/6.964, allocations: 4 kB / 3.128 GB, free: 128.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02456/6.989, allocations: 6.16 MB / 3.134 GB, free: 122 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001669/6.989, allocations: 146.1 kB / 3.134 GB, free: 121.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.744/8.733, allocations: 4 kB / 3.134 GB, free: 121.8 MB / 0.8698 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)