Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 192.9 kB / 16.64 MB, free: 6.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.445/1.445, allocations: 205.1 MB / 222.5 MB, free: 4.578 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.716/1.716, allocations: 292.3 MB / 0.549 GB, free: 12.77 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001711/0.001711, allocations: 71.39 kB / 0.6718 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.2219, allocations: 114.6 MB / 0.7836 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002555/0.2245, allocations: 1.33 MB / 0.7849 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6052/0.8298, allocations: 148.1 MB / 0.9295 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.796e-05/0.83, allocations: 6.625 kB / 0.9296 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.831e-05/0.83, allocations: 5.953 kB / 0.9296 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.8302, allocations: 13.27 kB / 0.9296 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.8312, allocations: 328.3 kB / 0.9299 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.8313, allocations: 63.08 kB / 0.9299 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.22e-05/0.8314, allocations: 6.438 kB / 0.9299 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.212e-05/0.8314, allocations: 30.73 kB / 0.93 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.8315, allocations: 29 kB / 0.93 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.8316, allocations: 2.938 kB / 0.93 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000814/0.8324, allocations: 412.2 kB / 0.9304 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.528e-05/0.8325, allocations: 18.59 kB / 0.9304 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.856e-05/0.8325, allocations: 28.33 kB / 0.9304 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003222/0.8328, allocations: 161.2 kB / 0.9306 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.8329, allocations: 4 kB / 0.9306 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.884e-06/0.8329, allocations: 0 / 0.9306 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.189e-05/0.8329, allocations: 0 / 0.9306 GB, free: 2.984 MB / 0.7169 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.0006213/0.8335, allocations: 393.2 kB / 0.931 GB, free: 18.61 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.8336, allocations: 12.17 kB / 0.931 GB, free: 18.61 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.566e-05/0.8336, allocations: 35.84 kB / 0.931 GB, free: 18.57 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003824/0.834, allocations: 36.7 kB / 0.9311 GB, free: 18.57 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.931e-05/0.8341, allocations: 165.2 kB / 0.9312 GB, free: 18.37 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.8341, allocations: 10.56 kB / 0.9312 GB, free: 18.37 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.986e-05/0.8342, allocations: 13.94 kB / 0.9312 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.8343, allocations: 81.02 kB / 0.9313 GB, free: 18.33 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.8343, allocations: 0 / 0.9313 GB, free: 18.33 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.8344, allocations: 3.734 kB / 0.9313 GB, free: 18.33 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.8344, allocations: 0 / 0.9313 GB, free: 18.33 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.103e-05/0.8345, allocations: 48.45 kB / 0.9314 GB, free: 18.33 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001962/0.8347, allocations: 188.5 kB / 0.9315 GB, free: 18.13 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001608/0.8348, allocations: 96.2 kB / 0.9316 GB, free: 18.1 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.953e-05/0.8349, allocations: 32.25 kB / 0.9317 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002459/0.8352, allocations: 170.7 kB / 0.9318 GB, free: 17.91 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.8352, allocations: 39.19 kB / 0.9319 GB, free: 17.87 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.8352, allocations: 4 kB / 0.9319 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19): time 0.001351/0.8366, allocations: 0.5389 MB / 0.9324 GB, free: 17.59 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.382e-05/0.8366, allocations: 58.67 kB / 0.9325 GB, free: 17.53 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.429e-05/0.8367, allocations: 105.8 kB / 0.9326 GB, free: 17.42 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.28e-05/0.8367, allocations: 31.75 kB / 0.9326 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.438e-05/0.8368, allocations: 82.61 kB / 0.9327 GB, free: 17.31 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.233e-05/0.8368, allocations: 68.41 kB / 0.9327 GB, free: 17.27 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.461e-05/0.8369, allocations: 43.22 kB / 0.9328 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.837, allocations: 321 kB / 0.9331 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.803e-05/0.8371, allocations: 34.53 kB / 0.9331 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.902e-05/0.8372, allocations: 72.06 kB / 0.9332 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.8373, allocations: 117.3 kB / 0.9333 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.8373, allocations: 0 / 0.9333 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002039/0.8375, allocations: 147.5 kB / 0.9334 GB, free: 16.83 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.8376, allocations: 8.156 kB / 0.9334 GB, free: 16.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.8376, allocations: 1.094 kB / 0.9334 GB, free: 16.83 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.8376, allocations: 2.625 kB / 0.9334 GB, free: 16.83 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.8378, allocations: 41.41 kB / 0.9335 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.8378, allocations: 8.438 kB / 0.9335 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.593e-05/0.8379, allocations: 10.59 kB / 0.9335 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.8379, allocations: 6.781 kB / 0.9335 GB, free: 16.82 MB / 0.7325 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.000105/0.838, allocations: 124.4 kB / 0.9336 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.013e-05/0.838, allocations: 6.531 kB / 0.9336 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.085e-05/0.8381, allocations: 19.02 kB / 0.9337 GB, free: 16.69 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.8381, allocations: 2.625 kB / 0.9337 GB, free: 16.69 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.8381, allocations: 5.797 kB / 0.9337 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.8381, allocations: 8.594 kB / 0.9337 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000167/0.8383, allocations: 191.1 kB / 0.9338 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.8383, allocations: 0 / 0.9338 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000188/0.8385, allocations: 45.23 kB / 0.9339 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.8385, allocations: 0 / 0.9339 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.8385, allocations: 7.531 kB / 0.9339 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.8385, allocations: 0 / 0.9339 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.8385, allocations: 1.5 kB / 0.9339 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002864/0.8388, allocations: 223.8 kB / 0.9341 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.192e-05/0.8389, allocations: 94.05 kB / 0.9342 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.8389, allocations: 3.719 kB / 0.9342 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.8391, allocations: 8.312 kB / 0.9342 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.983e-05/0.8391, allocations: 13.27 kB / 0.9342 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.8391, allocations: 9.828 kB / 0.9342 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.831e-05/0.8392, allocations: 78.52 kB / 0.9343 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8392, allocations: 0 / 0.9343 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002382/0.8394, allocations: 28.5 kB / 0.9343 GB, free: 16.21 MB / 0.7325 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.0006189/0.84, allocations: 0.7485 MB / 0.9351 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002065/0.8403, allocations: 111.6 kB / 0.9352 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.8403, allocations: 2.094 kB / 0.9352 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.696e-05/0.8403, allocations: 55.25 kB / 0.9352 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.8406, allocations: 19.95 kB / 0.9353 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001668/0.8423, allocations: 1.825 MB / 0.937 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.8426, allocations: 0.6978 MB / 0.9377 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001003/0.8427, allocations: 19.2 kB / 0.9377 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.117e-05/0.8427, allocations: 30.17 kB / 0.9378 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of SimCode: time 4e-07/0.8428, allocations: 0 / 0.9378 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01776/0.8605, allocations: 2.397 MB / 0.9401 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.041/8.902, allocations: 5.438 kB / 0.9401 GB, free: 13.04 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Media.Examples.AirDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 Buildings_8_Buildings_Media_Examples_AirDerivativeCheck.fmu > Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1)