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: translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck") translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.501/1.501, allocations: 252 MB / 267.6 MB, free: 10.91 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.0009886/0.0009886, allocations: 187.9 kB / 327.3 MB, free: 2.211 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.756/1.756, allocations: 205.4 MB / 0.5783 GB, free: 20.23 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.0008215/0.0008215, allocations: 85.69 kB / 0.6829 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004174/0.0004176, allocations: 10.19 kB / 0.797 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.2649, allocations: 106.3 MB / 0.9008 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.0014/0.2664, allocations: 1.048 MB / 0.9018 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1531/0.4195, allocations: 134.5 MB / 1.033 GB, free: 7.996 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.252e-05/0.4196, allocations: 4 kB / 1.033 GB, free: 7.992 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 4.797e-05/0.4197, allocations: 3.938 kB / 1.033 GB, free: 7.988 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001131/0.4198, allocations: 15.91 kB / 1.033 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007404/0.4205, allocations: 227 kB / 1.033 GB, free: 7.75 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 9.125e-05/0.4206, allocations: 67.81 kB / 1.033 GB, free: 7.684 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.972e-05/0.4207, allocations: 7.984 kB / 1.033 GB, free: 7.676 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 4.614e-05/0.4207, allocations: 27.92 kB / 1.034 GB, free: 7.648 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 9.977e-05/0.4208, allocations: 35.83 kB / 1.034 GB, free: 7.613 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.4209, allocations: 4 kB / 1.034 GB, free: 7.609 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005947/0.4215, allocations: 247.3 kB / 1.034 GB, free: 7.367 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 4.847e-05/0.4215, allocations: 15.97 kB / 1.034 GB, free: 7.352 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 4.13e-05/0.4216, allocations: 41.64 kB / 1.034 GB, free: 7.305 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.4218, allocations: 104 kB / 1.034 GB, free: 7.203 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.4218, allocations: 0 / 1.034 GB, free: 7.203 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.963e-06/0.4218, allocations: 0 / 1.034 GB, free: 7.203 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.4218, allocations: 0 / 1.034 GB, free: 7.203 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.0004465/0.4223, allocations: 371.3 kB / 1.034 GB, free: 6.793 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.4223, allocations: 8.031 kB / 1.034 GB, free: 6.785 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003803/0.4227, allocations: 39.81 kB / 1.034 GB, free: 6.746 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.4228, allocations: 163.1 kB / 1.034 GB, free: 6.547 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.4228, allocations: 8 kB / 1.034 GB, free: 6.539 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.578e-05/0.4229, allocations: 15.94 kB / 1.035 GB, free: 6.523 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.423, allocations: 81.58 kB / 1.035 GB, free: 6.438 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.4231, allocations: 0 / 1.035 GB, free: 6.438 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.4231, allocations: 0 / 1.035 GB, free: 6.438 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.4231, allocations: 0 / 1.035 GB, free: 6.438 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.327e-05/0.4232, allocations: 51.95 kB / 1.035 GB, free: 6.387 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001995/0.4234, allocations: 189.5 kB / 1.035 GB, free: 6.152 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/0.4236, allocations: 94.62 kB / 1.035 GB, free: 6.051 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.952e-05/0.4236, allocations: 32.84 kB / 1.035 GB, free: 6.016 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002378/0.4239, allocations: 174.2 kB / 1.035 GB, free: 5.809 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.4239, allocations: 38.56 kB / 1.035 GB, free: 5.762 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=12): time 1.102e-06/0.4239, allocations: 0 / 1.035 GB, free: 5.762 MB / 0.6823 GB Notification: Performance of matching and sorting (n=19): time 0.001249/0.4252, allocations: 0.5406 MB / 1.036 GB, free: 5.172 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.4252, allocations: 59.34 kB / 1.036 GB, free: 5.102 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.245e-05/0.4253, allocations: 105.8 kB / 1.036 GB, free: 4.988 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.4254, allocations: 33.7 kB / 1.036 GB, free: 4.949 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.124e-05/0.4254, allocations: 80.52 kB / 1.036 GB, free: 4.867 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.848e-05/0.4255, allocations: 70.94 kB / 1.036 GB, free: 4.797 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.313e-06/0.4255, allocations: 4 kB / 1.036 GB, free: 4.793 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.4256, allocations: 322.8 kB / 1.036 GB, free: 4.469 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.69e-05/0.4257, allocations: 31.98 kB / 1.036 GB, free: 4.438 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.559e-05/0.4258, allocations: 67.53 kB / 1.036 GB, free: 4.359 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.88e-05/0.4259, allocations: 47.98 kB / 1.036 GB, free: 4.312 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.4259, allocations: 0 / 1.036 GB, free: 4.312 MB / 0.6823 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002089/0.4261, allocations: 153.4 kB / 1.037 GB, free: 4.156 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.4261, allocations: 4 kB / 1.037 GB, free: 4.152 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.4261, allocations: 4 kB / 1.037 GB, free: 4.148 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.4261, allocations: 0 / 1.037 GB, free: 4.148 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001635/0.4263, allocations: 35.98 kB / 1.037 GB, free: 4.113 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.4263, allocations: 7.938 kB / 1.037 GB, free: 4.105 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.176e-05/0.4264, allocations: 4 kB / 1.037 GB, free: 4.102 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/0.4264, allocations: 15.95 kB / 1.037 GB, free: 4.086 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.188e-05/0.4265, allocations: 117.8 kB / 1.037 GB, free: 3.961 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.778e-05/0.4265, allocations: 7.906 kB / 1.037 GB, free: 3.953 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.759e-05/0.4266, allocations: 20.42 kB / 1.037 GB, free: 3.934 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.4266, allocations: 4 kB / 1.037 GB, free: 3.93 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.4266, allocations: 0 / 1.037 GB, free: 3.93 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.4266, allocations: 0 / 1.037 GB, free: 3.93 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.4268, allocations: 201.6 kB / 1.037 GB, free: 3.684 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4268, allocations: 0 / 1.037 GB, free: 3.684 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001907/0.427, allocations: 39.92 kB / 1.037 GB, free: 3.645 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.427, allocations: 4 kB / 1.037 GB, free: 3.641 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.427, allocations: 4.125 kB / 1.037 GB, free: 3.637 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.427, allocations: 4 kB / 1.037 GB, free: 3.633 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.427, allocations: 0 / 1.037 GB, free: 3.633 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002896/0.4273, allocations: 215.6 kB / 1.037 GB, free: 3.406 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.076e-05/0.4274, allocations: 92.98 kB / 1.037 GB, free: 3.297 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.4274, allocations: 8.062 kB / 1.037 GB, free: 3.289 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.4275, allocations: 8 kB / 1.037 GB, free: 3.281 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.96e-05/0.4276, allocations: 11.98 kB / 1.037 GB, free: 3.27 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.4276, allocations: 7.984 kB / 1.037 GB, free: 3.262 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.344e-05/0.4276, allocations: 79.28 kB / 1.037 GB, free: 3.184 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.362e-06/0.4276, allocations: 0 / 1.037 GB, free: 3.184 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001979/0.4278, allocations: 31.94 kB / 1.037 GB, free: 3.152 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.0001524/0.428, allocations: 111.3 kB / 1.038 GB, free: 3.031 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001912/0.4282, allocations: 103.8 kB / 1.038 GB, free: 2.93 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4282, allocations: 3.938 kB / 1.038 GB, free: 2.926 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 7.004e-05/0.4283, allocations: 51.91 kB / 1.038 GB, free: 2.875 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.4285, allocations: 15.42 kB / 1.038 GB, free: 2.863 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008238/0.4294, allocations: 0.6474 MB / 1.038 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002539/0.4296, allocations: 0.701 MB / 1.039 GB, free: 1.461 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.557e-05/0.4297, allocations: 15.44 kB / 1.039 GB, free: 1.445 MB / 0.6823 GB Notification: Performance of SimCode: time 2.4e-07/0.4297, allocations: 0 / 1.039 GB, free: 1.445 MB / 0.6823 GB Notification: Performance of Templates: time 0.002659/0.4323, allocations: 1.284 MB / 1.04 GB, free: 160 kB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1)