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.425/1.425, allocations: 252 MB / 267 MB, free: 10.98 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.001121/0.001121, allocations: 176.4 kB / 326.6 MB, free: 2.227 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.908/1.908, allocations: 205.4 MB / 0.5777 GB, free: 20.24 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.0008202/0.0008205, allocations: 88.36 kB / 0.6823 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002828/0.0002829, allocations: 10 kB / 0.7964 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.24/0.2403, allocations: 106.3 MB / 0.9003 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001202/0.2416, allocations: 1.044 MB / 0.9013 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1385/0.3801, allocations: 134.5 MB / 1.033 GB, free: 7.922 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.253e-05/0.3802, allocations: 0 / 1.033 GB, free: 7.922 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 3.901e-05/0.3802, allocations: 4 kB / 1.033 GB, free: 7.918 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001146/0.3803, allocations: 15.91 kB / 1.033 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007632/0.3811, allocations: 219 kB / 1.033 GB, free: 7.688 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 9.941e-05/0.3812, allocations: 75.75 kB / 1.033 GB, free: 7.613 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.311e-05/0.3813, allocations: 7.984 kB / 1.033 GB, free: 7.605 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 4.427e-05/0.3813, allocations: 31.91 kB / 1.033 GB, free: 7.574 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 9.471e-05/0.3814, allocations: 31.89 kB / 1.033 GB, free: 7.543 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.3814, allocations: 4 kB / 1.033 GB, free: 7.539 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005933/0.382, allocations: 247.3 kB / 1.033 GB, free: 7.297 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 4.555e-05/0.3821, allocations: 15.97 kB / 1.033 GB, free: 7.281 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 3.182e-05/0.3821, allocations: 37.64 kB / 1.033 GB, free: 7.238 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002054/0.3824, allocations: 104 kB / 1.033 GB, free: 7.137 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3824, allocations: 4 kB / 1.033 GB, free: 7.133 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3824, allocations: 0 / 1.033 GB, free: 7.133 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.3824, allocations: 4 kB / 1.033 GB, free: 7.129 MB / 0.6823 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.0004039/0.3828, allocations: 363.3 kB / 1.034 GB, free: 6.727 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.3828, allocations: 12.03 kB / 1.034 GB, free: 6.715 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.14e-05/0.3829, allocations: 38.55 kB / 1.034 GB, free: 6.668 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003628/0.3833, allocations: 43.77 kB / 1.034 GB, free: 6.625 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.56e-05/0.3834, allocations: 163.1 kB / 1.034 GB, free: 6.426 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.3834, allocations: 15.94 kB / 1.034 GB, free: 6.41 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.895e-05/0.3834, allocations: 8 kB / 1.034 GB, free: 6.402 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.3836, allocations: 77.59 kB / 1.034 GB, free: 6.32 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.3836, allocations: 0 / 1.034 GB, free: 6.32 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.3836, allocations: 4 kB / 1.034 GB, free: 6.316 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3836, allocations: 0 / 1.034 GB, free: 6.316 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.811e-05/0.3837, allocations: 51.84 kB / 1.034 GB, free: 6.266 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000188/0.3839, allocations: 189.5 kB / 1.034 GB, free: 6.031 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001647/0.3841, allocations: 90.59 kB / 1.034 GB, free: 5.934 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.237e-05/0.3842, allocations: 36.92 kB / 1.034 GB, free: 5.895 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002249/0.3844, allocations: 174.2 kB / 1.035 GB, free: 5.688 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.3844, allocations: 34.56 kB / 1.035 GB, free: 5.645 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=12): time 2.725e-06/0.3844, allocations: 12.25 kB / 1.035 GB, free: 5.633 MB / 0.6823 GB Notification: Performance of matching and sorting (n=19): time 0.001204/0.3857, allocations: 0.5277 MB / 1.035 GB, free: 5.055 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/0.3857, allocations: 59.39 kB / 1.035 GB, free: 4.984 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.31e-05/0.3858, allocations: 101.8 kB / 1.035 GB, free: 4.875 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.3858, allocations: 33.64 kB / 1.035 GB, free: 4.836 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.897e-05/0.3858, allocations: 84.52 kB / 1.035 GB, free: 4.75 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.859e-05/0.3859, allocations: 70.98 kB / 1.036 GB, free: 4.68 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.306e-06/0.3859, allocations: 8 kB / 1.036 GB, free: 4.672 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.679e-05/0.386, allocations: 314.8 kB / 1.036 GB, free: 4.355 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.195e-05/0.3861, allocations: 35.97 kB / 1.036 GB, free: 4.32 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.535e-05/0.3862, allocations: 75.47 kB / 1.036 GB, free: 4.234 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.489e-05/0.3863, allocations: 44 kB / 1.036 GB, free: 4.191 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.3863, allocations: 0 / 1.036 GB, free: 4.191 MB / 0.6823 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002134/0.3865, allocations: 157.5 kB / 1.036 GB, free: 4.031 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.3865, allocations: 4 kB / 1.036 GB, free: 4.027 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.3865, allocations: 0 / 1.036 GB, free: 4.027 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.3865, allocations: 4 kB / 1.036 GB, free: 4.023 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/0.3867, allocations: 35.92 kB / 1.036 GB, free: 3.988 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.3867, allocations: 4 kB / 1.036 GB, free: 3.984 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.287e-05/0.3868, allocations: 11.95 kB / 1.036 GB, free: 3.973 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.3868, allocations: 11.94 kB / 1.036 GB, free: 3.961 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.031e-05/0.3869, allocations: 125.8 kB / 1.036 GB, free: 3.828 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.79e-05/0.3869, allocations: 7.906 kB / 1.036 GB, free: 3.82 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.388e-05/0.387, allocations: 16.44 kB / 1.036 GB, free: 3.805 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.387, allocations: 4 kB / 1.036 GB, free: 3.801 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.387, allocations: 0 / 1.036 GB, free: 3.801 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.387, allocations: 0 / 1.036 GB, free: 3.801 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000154/0.3872, allocations: 197.6 kB / 1.037 GB, free: 3.559 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3872, allocations: 4 kB / 1.037 GB, free: 3.555 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001884/0.3874, allocations: 35.98 kB / 1.037 GB, free: 3.52 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.3874, allocations: 0 / 1.037 GB, free: 3.52 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.3874, allocations: 7.984 kB / 1.037 GB, free: 3.512 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.3874, allocations: 7.938 kB / 1.037 GB, free: 3.504 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-06/0.3874, allocations: 0 / 1.037 GB, free: 3.504 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002812/0.3877, allocations: 196.9 kB / 1.037 GB, free: 3.293 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.14e-05/0.3878, allocations: 97.06 kB / 1.037 GB, free: 3.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.3878, allocations: 0 / 1.037 GB, free: 3.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.3879, allocations: 16.23 kB / 1.037 GB, free: 3.164 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.283e-05/0.388, allocations: 7.984 kB / 1.037 GB, free: 3.156 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.388, allocations: 16 kB / 1.037 GB, free: 3.141 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.278e-05/0.388, allocations: 79.22 kB / 1.037 GB, free: 3.062 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.388, allocations: 0 / 1.037 GB, free: 3.062 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001996/0.3882, allocations: 28 kB / 1.037 GB, free: 3.035 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.0005456/0.3888, allocations: 0.7542 MB / 1.038 GB, free: 2.254 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001818/0.389, allocations: 99.95 kB / 1.038 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.389, allocations: 0 / 1.038 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 7.79e-05/0.3891, allocations: 63.8 kB / 1.038 GB, free: 2.094 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.3893, allocations: 13.38 kB / 1.038 GB, free: 2.082 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.3906, allocations: 1.008 MB / 1.039 GB, free: 1.02 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002416/0.3909, allocations: 0.6972 MB / 1.04 GB, free: 304 kB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001335/0.391, allocations: 24.62 kB / 1.04 GB, free: 276 kB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.868e-05/0.3911, allocations: 23.44 kB / 1.04 GB, free: 252 kB / 0.6823 GB Notification: Performance of SimCode: time 3e-07/0.3911, allocations: 0 / 1.04 GB, free: 252 kB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01293/0.404, allocations: 2.137 MB / 1.042 GB, free: 14.24 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001717/0.4042, allocations: 188.2 kB / 1.042 GB, free: 14 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.645/2.049, allocations: 0 / 1.042 GB, free: 14 MB / 0.698 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)