Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Examples.AirDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Examples.AirDerivativeCheck") translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.197/2.197, allocations: 251.1 MB / 266.7 MB, free: 11.64 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.001301/0.001301, allocations: 181.5 kB / 326.3 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.368/2.368, allocations: 205.4 MB / 0.5772 GB, free: 20.75 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.0008443/0.0008441, allocations: 97.67 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004859/0.0004861, allocations: 12.33 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.221/0.2215, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001398/0.223, allocations: 1.048 MB / 0.9005 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1944/0.4174, allocations: 134.5 MB / 1.032 GB, free: 9.621 MB / 0.6824 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.911e-05/0.4175, allocations: 0 / 1.032 GB, free: 9.621 MB / 0.6824 GB Notification: Performance of NFTyping.typeComponents: time 3.929e-05/0.4176, allocations: 0 / 1.032 GB, free: 9.621 MB / 0.6824 GB Notification: Performance of NFTyping.typeBindings: time 0.0001059/0.4177, allocations: 15.92 kB / 1.032 GB, free: 9.605 MB / 0.6824 GB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.4188, allocations: 227 kB / 1.032 GB, free: 9.383 MB / 0.6824 GB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.419, allocations: 75.73 kB / 1.032 GB, free: 9.309 MB / 0.6824 GB Notification: Performance of NFFlatten.resolveConnections: time 3.536e-05/0.419, allocations: 4 kB / 1.032 GB, free: 9.305 MB / 0.6824 GB Notification: Performance of NFEvalConstants.evaluate: time 5.958e-05/0.4191, allocations: 27.92 kB / 1.032 GB, free: 9.277 MB / 0.6824 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.4192, allocations: 35.89 kB / 1.032 GB, free: 9.242 MB / 0.6824 GB Notification: Performance of NFPackage.collectConstants: time 2.064e-05/0.4192, allocations: 4 kB / 1.032 GB, free: 9.238 MB / 0.6824 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009636/0.4202, allocations: 247.3 kB / 1.032 GB, free: 8.996 MB / 0.6824 GB Notification: Performance of NFScalarize.scalarize: time 6.258e-05/0.4203, allocations: 23.91 kB / 1.032 GB, free: 8.973 MB / 0.6824 GB Notification: Performance of NFVerifyModel.verify: time 4.936e-05/0.4204, allocations: 33.7 kB / 1.032 GB, free: 8.934 MB / 0.6824 GB Notification: Performance of NFConvertDAE.convert: time 0.0002931/0.4207, allocations: 100 kB / 1.033 GB, free: 8.836 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.4207, allocations: 0 / 1.033 GB, free: 8.836 MB / 0.6824 GB Notification: Performance of FrontEnd: time 1.944e-06/0.4207, allocations: 0 / 1.033 GB, free: 8.836 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 4.94e-06/0.4207, allocations: 0 / 1.033 GB, free: 8.836 MB / 0.6824 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.0005321/0.4212, allocations: 371.3 kB / 1.033 GB, free: 8.426 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.4213, allocations: 8.031 kB / 1.033 GB, free: 8.418 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005374/0.4218, allocations: 48.78 kB / 1.033 GB, free: 8.371 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.422, allocations: 168.3 kB / 1.033 GB, free: 8.168 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.422, allocations: 7.938 kB / 1.033 GB, free: 8.16 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.913e-05/0.4221, allocations: 8 kB / 1.033 GB, free: 8.152 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002273/0.4223, allocations: 81.58 kB / 1.033 GB, free: 8.066 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.4223, allocations: 0 / 1.033 GB, free: 8.066 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.196e-05/0.4224, allocations: 4 kB / 1.033 GB, free: 8.062 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.4224, allocations: 0 / 1.033 GB, free: 8.062 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001486/0.4225, allocations: 47.95 kB / 1.033 GB, free: 8.016 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002711/0.4228, allocations: 197.4 kB / 1.033 GB, free: 7.773 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002606/0.4231, allocations: 90.62 kB / 1.034 GB, free: 7.676 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.347e-05/0.4232, allocations: 28.84 kB / 1.034 GB, free: 7.645 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003206/0.4235, allocations: 182.2 kB / 1.034 GB, free: 7.43 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.4236, allocations: 38.56 kB / 1.034 GB, free: 7.383 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=12): time 2.335e-06/0.4236, allocations: 0 / 1.034 GB, free: 7.383 MB / 0.6824 GB Notification: Performance of matching and sorting (n=19): time 0.001961/0.4256, allocations: 0.5399 MB / 1.034 GB, free: 6.793 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.4256, allocations: 59.41 kB / 1.034 GB, free: 6.723 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.565e-05/0.4257, allocations: 93.84 kB / 1.034 GB, free: 6.621 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 3.097e-05/0.4258, allocations: 33.7 kB / 1.035 GB, free: 6.582 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 3.955e-05/0.4258, allocations: 84.45 kB / 1.035 GB, free: 6.496 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 8.756e-05/0.4259, allocations: 67.02 kB / 1.035 GB, free: 6.43 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.203e-05/0.4259, allocations: 0 / 1.035 GB, free: 6.43 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.4261, allocations: 330.7 kB / 1.035 GB, free: 6.098 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.4262, allocations: 35.98 kB / 1.035 GB, free: 6.062 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.4264, allocations: 67.53 kB / 1.035 GB, free: 5.984 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.4265, allocations: 51.95 kB / 1.035 GB, free: 5.934 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4265, allocations: 3.938 kB / 1.035 GB, free: 5.93 MB / 0.6824 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003732/0.4269, allocations: 153.5 kB / 1.035 GB, free: 5.773 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.4269, allocations: 4 kB / 1.035 GB, free: 5.77 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.427, allocations: 4 kB / 1.035 GB, free: 5.766 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.427, allocations: 0 / 1.035 GB, free: 5.766 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003121/0.4273, allocations: 39.92 kB / 1.035 GB, free: 5.727 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.4273, allocations: 4 kB / 1.035 GB, free: 5.723 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.426e-05/0.4274, allocations: 11.94 kB / 1.035 GB, free: 5.711 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.689e-05/0.4275, allocations: 4 kB / 1.035 GB, free: 5.707 MB / 0.6824 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 0.0001271/0.4276, allocations: 118.9 kB / 1.035 GB, free: 5.582 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.866e-05/0.4276, allocations: 15.84 kB / 1.035 GB, free: 5.566 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.255e-05/0.4277, allocations: 20.42 kB / 1.035 GB, free: 5.547 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.4277, allocations: 0 / 1.035 GB, free: 5.547 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.4277, allocations: 0 / 1.035 GB, free: 5.547 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.4279, allocations: 100.9 kB / 1.036 GB, free: 5.43 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.008e-05/0.4279, allocations: 4 kB / 1.036 GB, free: 5.426 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002318/0.4281, allocations: 8 kB / 1.036 GB, free: 5.418 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.583e-05/0.4282, allocations: 7.984 kB / 1.036 GB, free: 5.41 MB / 0.6824 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006425/0.4289, allocations: 228.8 kB / 1.036 GB, free: 5.18 MB / 0.6824 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0006146/0.4295, allocations: 380 kB / 1.036 GB, free: 4.793 MB / 0.6824 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001304/0.4296, allocations: 51.55 kB / 1.036 GB, free: 4.746 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 4.67e-05/0.4297, allocations: 75.28 kB / 1.036 GB, free: 4.672 MB / 0.6824 GB Notification: Performance of Backend: time 8.21e-07/0.4297, allocations: 0 / 1.036 GB, free: 4.672 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.0008539/0.4306, allocations: 242.3 kB / 1.037 GB, free: 4.426 MB / 0.6824 GB Notification: Performance of SimCode: time 0.001415/0.432, allocations: 1.035 MB / 1.038 GB, free: 3.344 MB / 0.6824 GB Notification: Performance of Templates: time 0.008049/0.4401, allocations: 2.217 MB / 1.04 GB, free: 1.125 MB / 0.6824 GB make -j1 -f Buildings_7.0.0_Buildings.Media.Examples.AirDerivativeCheck.makefile (rm -f Buildings_7.0.0_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_7.0.0_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_7.0.0_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_7.0.0_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1)