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.318/1.318, allocations: 251.5 MB / 267.4 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.001078/0.001078, allocations: 183.1 kB / 326.5 MB, free: 2.715 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.342/1.342, allocations: 205 MB / 0.5767 GB, free: 20.99 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.0006487/0.0006487, allocations: 95.84 kB / 0.6804 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002815/0.0002816, allocations: 8.75 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1427, allocations: 105.4 MB / 0.8967 GB, free: 68.26 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001059/0.1438, allocations: 1.06 MB / 0.8978 GB, free: 67.19 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1242/0.268, allocations: 145.8 MB / 1.04 GB, free: 0.8086 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.696e-05/0.2681, allocations: 0 / 1.04 GB, free: 0.8086 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 3.541e-05/0.2682, allocations: 7.938 kB / 1.04 GB, free: 0.8008 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 8.744e-05/0.2683, allocations: 15.91 kB / 1.04 GB, free: 0.7852 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007861/0.2691, allocations: 294.9 kB / 1.04 GB, free: 0.4961 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 8.915e-05/0.2692, allocations: 87.78 kB / 1.041 GB, free: 420 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 3.493e-05/0.2692, allocations: 4.281 kB / 1.041 GB, free: 416 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 4.883e-05/0.2692, allocations: 35.91 kB / 1.041 GB, free: 380 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 8.201e-05/0.2693, allocations: 35.83 kB / 1.041 GB, free: 344 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.2694, allocations: 4 kB / 1.041 GB, free: 340 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007787/0.2701, allocations: 0.4908 MB / 1.041 GB, free: 15.84 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.442e-05/0.2702, allocations: 15.92 kB / 1.041 GB, free: 15.82 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.119e-05/0.2702, allocations: 27.91 kB / 1.041 GB, free: 15.8 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000295/0.2705, allocations: 187.5 kB / 1.041 GB, free: 15.61 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.2706, allocations: 7.938 kB / 1.041 GB, free: 15.61 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.233e-06/0.2706, allocations: 0 / 1.041 GB, free: 15.61 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.326e-06/0.2706, allocations: 0 / 1.041 GB, free: 15.61 MB / 0.698 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.0003728/0.271, allocations: 371.3 kB / 1.042 GB, free: 15.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.271, allocations: 8.031 kB / 1.042 GB, free: 15.19 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003707/0.2714, allocations: 40.8 kB / 1.042 GB, free: 15.15 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.623e-05/0.2715, allocations: 168.4 kB / 1.042 GB, free: 14.95 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.2715, allocations: 11.94 kB / 1.042 GB, free: 14.93 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.657e-05/0.2715, allocations: 8 kB / 1.042 GB, free: 14.93 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.2717, allocations: 77.64 kB / 1.042 GB, free: 14.84 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.2717, allocations: 0 / 1.042 GB, free: 14.84 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.2717, allocations: 7.938 kB / 1.042 GB, free: 14.84 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.2717, allocations: 4 kB / 1.042 GB, free: 14.83 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.144e-05/0.2718, allocations: 43.95 kB / 1.042 GB, free: 14.79 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001747/0.272, allocations: 189.4 kB / 1.042 GB, free: 14.55 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001622/0.2722, allocations: 90.69 kB / 1.042 GB, free: 14.46 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.991e-05/0.2722, allocations: 33.11 kB / 1.042 GB, free: 14.42 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002149/0.2725, allocations: 182.1 kB / 1.043 GB, free: 14.21 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.2725, allocations: 34.56 kB / 1.043 GB, free: 14.16 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 1.372e-06/0.2725, allocations: 0 / 1.043 GB, free: 14.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.00117/0.2737, allocations: 0.5505 MB / 1.043 GB, free: 13.56 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.542e-05/0.2737, allocations: 55.41 kB / 1.043 GB, free: 13.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.292e-05/0.2738, allocations: 89.86 kB / 1.043 GB, free: 13.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/0.2738, allocations: 37.83 kB / 1.043 GB, free: 13.36 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.416e-05/0.2738, allocations: 80.52 kB / 1.043 GB, free: 13.27 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.502e-05/0.2739, allocations: 74.98 kB / 1.043 GB, free: 13.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.09e-05/0.2739, allocations: 21.7 kB / 1.043 GB, free: 13.17 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.894e-05/0.274, allocations: 322.8 kB / 1.044 GB, free: 12.85 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.015e-05/0.2741, allocations: 43.91 kB / 1.044 GB, free: 12.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.649e-05/0.2742, allocations: 67.41 kB / 1.044 GB, free: 12.73 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.2744, allocations: 115.4 kB / 1.044 GB, free: 12.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.2744, allocations: 0 / 1.044 GB, free: 12.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002021/0.2746, allocations: 157.5 kB / 1.044 GB, free: 12.44 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.2746, allocations: 4 kB / 1.044 GB, free: 12.44 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.2746, allocations: 0 / 1.044 GB, free: 12.44 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.2746, allocations: 4 kB / 1.044 GB, free: 12.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.2748, allocations: 40.05 kB / 1.044 GB, free: 12.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.2748, allocations: 0 / 1.044 GB, free: 12.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.659e-05/0.2749, allocations: 15.94 kB / 1.044 GB, free: 12.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.2749, allocations: 8 kB / 1.044 GB, free: 12.37 MB / 0.698 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 8.175e-05/0.275, allocations: 125.8 kB / 1.044 GB, free: 12.24 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.937e-05/0.275, allocations: 7.906 kB / 1.044 GB, free: 12.23 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.508e-05/0.275, allocations: 24.38 kB / 1.044 GB, free: 12.21 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.2751, allocations: 0 / 1.044 GB, free: 12.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2751, allocations: 0 / 1.044 GB, free: 12.21 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.333e-05/0.2751, allocations: 92.94 kB / 1.044 GB, free: 12.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.2752, allocations: 8 kB / 1.044 GB, free: 12.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.2753, allocations: 15.98 kB / 1.044 GB, free: 12.07 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.612e-05/0.2753, allocations: 7.984 kB / 1.044 GB, free: 12.07 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003361/0.2757, allocations: 229.7 kB / 1.045 GB, free: 11.84 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003508/0.276, allocations: 376.3 kB / 1.045 GB, free: 11.45 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.366e-05/0.2761, allocations: 49.75 kB / 1.045 GB, free: 11.41 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.854e-05/0.2761, allocations: 83.27 kB / 1.045 GB, free: 11.32 MB / 0.698 GB Notification: Performance of Backend: time 5.61e-07/0.2762, allocations: 3.938 kB / 1.045 GB, free: 11.32 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005632/0.2767, allocations: 222.6 kB / 1.045 GB, free: 11.09 MB / 0.698 GB Notification: Performance of SimCode: time 0.0008326/0.2776, allocations: 0.9493 MB / 1.046 GB, free: 10.1 MB / 0.698 GB Notification: Performance of Templates: time 0.004689/0.2823, allocations: 2.261 MB / 1.049 GB, free: 7.836 MB / 0.698 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)