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.397/1.397, allocations: 251.9 MB / 266.9 MB, free: 11.07 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.001124/0.001124, allocations: 180.8 kB / 326.5 MB, free: 2.27 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.935/1.935, 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.0009412/0.0009414, allocations: 101.9 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003178/0.0003179, allocations: 11.72 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.2193, allocations: 106.3 MB / 0.9001 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001395/0.2207, allocations: 1.027 MB / 0.9011 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.138/0.3588, allocations: 125.2 MB / 1.023 GB, free: 1.371 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.176e-05/0.3589, allocations: 7.875 kB / 1.023 GB, free: 1.363 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 5.211e-05/0.359, allocations: 3.984 kB / 1.023 GB, free: 1.359 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 6.515e-05/0.359, allocations: 11.98 kB / 1.023 GB, free: 1.348 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008419/0.3599, allocations: 239.3 kB / 1.024 GB, free: 1.113 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 8.504e-05/0.36, allocations: 39.89 kB / 1.024 GB, free: 1.074 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 5.87e-05/0.3601, allocations: 7.984 kB / 1.024 GB, free: 1.066 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 4.743e-05/0.3601, allocations: 27.91 kB / 1.024 GB, free: 1.039 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 9.275e-05/0.3602, allocations: 27.92 kB / 1.024 GB, free: 1.012 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.3602, allocations: 4 kB / 1.024 GB, free: 1.008 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006662/0.3609, allocations: 283.4 kB / 1.024 GB, free: 0.7305 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 5.77e-05/0.361, allocations: 19.97 kB / 1.024 GB, free: 0.7109 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 5.032e-05/0.361, allocations: 33.7 kB / 1.024 GB, free: 0.6719 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.0002253/0.3613, allocations: 92.11 kB / 1.024 GB, free: 0.582 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3613, allocations: 0 / 1.024 GB, free: 0.582 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.425e-06/0.3613, allocations: 3.938 kB / 1.024 GB, free: 0.5781 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 3.908e-06/0.3613, allocations: 0 / 1.024 GB, free: 0.5781 MB / 0.6667 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.0004794/0.3618, allocations: 371.3 kB / 1.025 GB, free: 172 kB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.3618, allocations: 12.03 kB / 1.025 GB, free: 160 kB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.034e-05/0.3619, allocations: 38.56 kB / 1.025 GB, free: 112 kB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004007/0.3623, allocations: 47.73 kB / 1.025 GB, free: 64 kB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.3624, allocations: 159.1 kB / 1.025 GB, free: 15.87 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.3625, allocations: 8 kB / 1.025 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.379e-05/0.3625, allocations: 12 kB / 1.025 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.3627, allocations: 77.62 kB / 1.025 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.3627, allocations: 0 / 1.025 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.3627, allocations: 4 kB / 1.025 GB, free: 15.76 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.3627, allocations: 4 kB / 1.025 GB, free: 15.76 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.3629, allocations: 59.78 kB / 1.025 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002241/0.3631, allocations: 181.5 kB / 1.025 GB, free: 15.47 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.3633, allocations: 90.69 kB / 1.025 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.521e-05/0.3633, allocations: 4 kB / 1.025 GB, free: 15.37 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.3634, allocations: 38.56 kB / 1.025 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=12): time 1.383e-06/0.3634, allocations: 0 / 1.025 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of matching and sorting (n=19): time 0.001326/0.3647, allocations: 0.5422 MB / 1.026 GB, free: 14.73 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.3648, allocations: 51.41 kB / 1.026 GB, free: 14.67 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.636e-05/0.3649, allocations: 105.8 kB / 1.026 GB, free: 14.55 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.3649, allocations: 29.7 kB / 1.026 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.097e-05/0.365, allocations: 84.45 kB / 1.026 GB, free: 14.43 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.739e-05/0.365, allocations: 67 kB / 1.026 GB, free: 14.37 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.041e-05/0.365, allocations: 8 kB / 1.026 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.3652, allocations: 318.8 kB / 1.026 GB, free: 14.04 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.942e-05/0.3652, allocations: 31.98 kB / 1.026 GB, free: 14.01 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.17e-05/0.3653, allocations: 71.53 kB / 1.026 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.896e-05/0.3654, allocations: 51.92 kB / 1.027 GB, free: 13.88 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.3655, allocations: 3.984 kB / 1.027 GB, free: 13.87 MB / 0.6823 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002116/0.3657, allocations: 141.6 kB / 1.027 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.3657, allocations: 8 kB / 1.027 GB, free: 13.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.3657, allocations: 4 kB / 1.027 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.3657, allocations: 4 kB / 1.027 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.3659, allocations: 35.92 kB / 1.027 GB, free: 13.68 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.3659, allocations: 11.98 kB / 1.027 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.162e-05/0.366, allocations: 4 kB / 1.027 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.54e-05/0.366, allocations: 16.11 kB / 1.027 GB, free: 13.64 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.724e-05/0.3661, allocations: 121.7 kB / 1.027 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.745e-05/0.3661, allocations: 7.906 kB / 1.027 GB, free: 13.51 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.411e-05/0.3662, allocations: 16.44 kB / 1.027 GB, free: 13.49 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.3662, allocations: 4 kB / 1.027 GB, free: 13.49 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.3662, allocations: 0 / 1.027 GB, free: 13.49 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.3662, allocations: 3.984 kB / 1.027 GB, free: 13.48 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.3664, allocations: 201.6 kB / 1.027 GB, free: 13.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.3664, allocations: 0 / 1.027 GB, free: 13.24 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001879/0.3666, allocations: 35.98 kB / 1.027 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3666, allocations: 0 / 1.027 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.3666, allocations: 4 kB / 1.027 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.3667, allocations: 4 kB / 1.027 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.3667, allocations: 3.984 kB / 1.027 GB, free: 13.19 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002934/0.367, allocations: 210.4 kB / 1.027 GB, free: 12.97 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.131e-05/0.3671, allocations: 97 kB / 1.027 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.3671, allocations: 4.062 kB / 1.027 GB, free: 12.85 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.3672, allocations: 4 kB / 1.027 GB, free: 12.85 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.718e-05/0.3673, allocations: 11.98 kB / 1.027 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.3673, allocations: 8 kB / 1.027 GB, free: 12.83 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.606e-05/0.3673, allocations: 75.28 kB / 1.028 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3673, allocations: 0 / 1.028 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002126/0.3675, allocations: 28 kB / 1.028 GB, free: 12.73 MB / 0.6823 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 (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.0006268/0.3682, allocations: 0.751 MB / 1.028 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002059/0.3684, allocations: 103.9 kB / 1.028 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3684, allocations: 0 / 1.028 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 7.652e-05/0.3685, allocations: 63.86 kB / 1.028 GB, free: 11.78 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.3687, allocations: 14.66 kB / 1.028 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001686/0.3704, allocations: 1.466 MB / 1.03 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003891/0.3708, allocations: 0.705 MB / 1.031 GB, free: 9.52 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.000148/0.371, allocations: 24.62 kB / 1.031 GB, free: 9.492 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.223e-05/0.3711, allocations: 27.42 kB / 1.031 GB, free: 9.465 MB / 0.6823 GB Notification: Performance of SimCode: time 2.3e-07/0.3711, allocations: 0 / 1.031 GB, free: 9.465 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01402/0.3851, allocations: 2.106 MB / 1.033 GB, free: 7.484 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001911/0.3853, allocations: 183 kB / 1.033 GB, free: 7.242 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.548/1.934, allocations: 3.938 kB / 1.033 GB, free: 7.238 MB / 0.6823 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)