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.699/1.699, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.001606/0.001606, allocations: 172.9 kB / 361.4 MB, free: 6.797 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.903/1.903, allocations: 205.2 MB / 0.62 GB, free: 11.6 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.001106/0.001106, allocations: 90 kB / 0.733 GB, free: 44.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.38e-05/2.379e-05, allocations: 4 kB / 0.8518 GB, free: 2.605 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7445/0.7446, allocations: 115.3 MB / 0.9644 GB, free: 78.86 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.307/6.052, allocations: 2.088 GB / 3.052 GB, free: 72.97 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003051/6.052, allocations: 75.95 kB / 3.053 GB, free: 72.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.06114/6.113, allocations: 29.45 MB / 3.081 GB, free: 43.43 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.565e-06/6.114, allocations: 4 kB / 3.081 GB, free: 43.43 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.063e-06/6.114, allocations: 0 / 3.081 GB, free: 43.43 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.0004181/6.114, allocations: 382.3 kB / 3.082 GB, free: 43.01 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/6.114, allocations: 8.031 kB / 3.082 GB, free: 43 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003952/6.114, allocations: 35.91 kB / 3.082 GB, free: 42.97 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/6.115, allocations: 167 kB / 3.082 GB, free: 42.77 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/6.115, allocations: 0 / 3.082 GB, free: 42.77 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.51e-05/6.115, allocations: 11.91 kB / 3.082 GB, free: 42.75 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001266/6.115, allocations: 42.84 kB / 3.082 GB, free: 42.71 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/6.115, allocations: 69.59 kB / 3.082 GB, free: 42.64 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/6.115, allocations: 3.938 kB / 3.082 GB, free: 42.64 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/6.115, allocations: 0 / 3.082 GB, free: 42.64 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/6.115, allocations: 7.953 kB / 3.082 GB, free: 42.63 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001903/6.115, allocations: 150.2 kB / 3.082 GB, free: 42.45 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001538/6.115, allocations: 76.42 kB / 3.082 GB, free: 42.36 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.654e-05/6.115, allocations: 32 kB / 3.082 GB, free: 42.33 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002353/6.116, allocations: 174.2 kB / 3.082 GB, free: 42.12 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/6.116, allocations: 34.56 kB / 3.082 GB, free: 42.08 MB / 0.948 GB Notification: Performance of pre-optimization done (n=12): time 1.503e-06/6.116, allocations: 0 / 3.082 GB, free: 42.08 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.001299/6.117, allocations: 491.8 kB / 3.083 GB, free: 41.55 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.523e-05/6.117, allocations: 51.41 kB / 3.083 GB, free: 41.49 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.78e-05/6.117, allocations: 93 kB / 3.083 GB, free: 41.39 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/6.117, allocations: 25.7 kB / 3.083 GB, free: 41.36 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.071e-05/6.117, allocations: 84.64 kB / 3.083 GB, free: 41.27 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.218e-05/6.117, allocations: 67 kB / 3.083 GB, free: 41.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.101e-06/6.117, allocations: 0 / 3.083 GB, free: 41.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.963e-05/6.117, allocations: 326.8 kB / 3.084 GB, free: 40.88 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.313e-05/6.117, allocations: 31.98 kB / 3.084 GB, free: 40.84 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.758e-05/6.117, allocations: 63.42 kB / 3.084 GB, free: 40.77 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.349e-05/6.117, allocations: 31.98 kB / 3.084 GB, free: 40.74 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/6.117, allocations: 4 kB / 3.084 GB, free: 40.73 MB / 0.948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000197/6.118, allocations: 143.8 kB / 3.084 GB, free: 40.59 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/6.118, allocations: 4 kB / 3.084 GB, free: 40.59 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/6.118, allocations: 4 kB / 3.084 GB, free: 40.58 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/6.118, allocations: 0 / 3.084 GB, free: 40.58 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/6.118, allocations: 37.67 kB / 3.084 GB, free: 40.55 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/6.118, allocations: 4.75 kB / 3.084 GB, free: 40.54 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.327e-05/6.118, allocations: 0 / 3.084 GB, free: 40.54 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/6.118, allocations: 4 kB / 3.084 GB, free: 40.54 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.373e-05/6.118, allocations: 120.9 kB / 3.084 GB, free: 40.41 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001393/6.118, allocations: 111.8 kB / 3.084 GB, free: 40.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.473e-05/6.118, allocations: 15.78 kB / 3.084 GB, free: 40.29 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.628e-05/6.118, allocations: 16.53 kB / 3.084 GB, free: 40.27 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.686e-06/6.118, allocations: 4 kB / 3.084 GB, free: 40.27 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/6.118, allocations: 2.562 kB / 3.084 GB, free: 40.27 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/6.118, allocations: 0 / 3.084 GB, free: 40.27 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/6.119, allocations: 166.1 kB / 3.084 GB, free: 40.07 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/6.119, allocations: 0 / 3.084 GB, free: 40.07 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001887/6.119, allocations: 31.98 kB / 3.084 GB, free: 40.04 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/6.119, allocations: 8 kB / 3.084 GB, free: 40.03 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/6.119, allocations: 0 / 3.084 GB, free: 40.03 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.175e-06/6.119, allocations: 0 / 3.084 GB, free: 40.03 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/6.119, allocations: 0 / 3.084 GB, free: 40.03 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002609/6.119, allocations: 200 kB / 3.084 GB, free: 39.82 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.6e-05/6.119, allocations: 92.95 kB / 3.085 GB, free: 39.71 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.024e-05/6.119, allocations: 0 / 3.085 GB, free: 39.71 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/6.119, allocations: 4 kB / 3.085 GB, free: 39.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.99e-05/6.119, allocations: 11.98 kB / 3.085 GB, free: 39.69 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/6.119, allocations: 16.05 kB / 3.085 GB, free: 39.68 MB / 0.948 GB Notification: Performance of sorting global known variables: time 1.831e-05/6.119, allocations: 75.28 kB / 3.085 GB, free: 39.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.11e-07/6.119, allocations: 0 / 3.085 GB, free: 39.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003151/6.12, allocations: 55.92 kB / 3.085 GB, free: 39.55 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.001174/6.121, allocations: 1.275 MB / 3.086 GB, free: 38.26 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001764/6.121, allocations: 87.92 kB / 3.086 GB, free: 38.18 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/6.121, allocations: 0 / 3.086 GB, free: 38.18 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.233e-05/6.121, allocations: 43.94 kB / 3.086 GB, free: 38.13 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/6.121, allocations: 14.66 kB / 3.086 GB, free: 38.12 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009223/6.122, allocations: 0.4964 MB / 3.087 GB, free: 37.59 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002185/6.123, allocations: 0.7016 MB / 3.087 GB, free: 36.87 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001457/6.123, allocations: 28.53 kB / 3.087 GB, free: 36.84 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.172e-05/6.123, allocations: 23.44 kB / 3.087 GB, free: 36.82 MB / 0.948 GB Notification: Performance of SimCode: time 3.6e-07/6.123, allocations: 4 kB / 3.087 GB, free: 36.81 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02629/6.149, allocations: 6.165 MB / 3.093 GB, free: 30.71 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002508/6.149, allocations: 143.9 kB / 3.093 GB, free: 30.51 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.706/7.856, allocations: 1.859 kB / 3.093 GB, free: 30.51 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)