Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.686/4.686, allocations: 0.5623 GB / 0.5776 GB, free: 3.367 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002532/0.002532, allocations: 357 kB / 0.6447 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.279/4.279, allocations: 410.7 MB / 1.113 GB, free: 5.973 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001766/0.001766, allocations: 178.5 kB / 1.226 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004743/0.0004745, allocations: 16 kB / 1.349 GB, free: 8.27 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7153/0.7158, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001768/0.7176, allocations: 0.996 MB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1716/0.8893, allocations: 133.4 MB / 1.593 GB, free: 150 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.265e-05/0.8894, allocations: 0 / 1.593 GB, free: 150 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.56e-05/0.8894, allocations: 0 / 1.593 GB, free: 150 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.121e-05/0.8895, allocations: 3.938 kB / 1.593 GB, free: 150 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000367/0.8899, allocations: 81.83 kB / 1.593 GB, free: 149.9 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 5.844e-05/0.8899, allocations: 31.84 kB / 1.593 GB, free: 149.9 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.402e-05/0.89, allocations: 0 / 1.593 GB, free: 149.9 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 3.726e-05/0.89, allocations: 15.94 kB / 1.593 GB, free: 149.9 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 6.329e-05/0.8901, allocations: 23.91 kB / 1.593 GB, free: 149.8 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.8901, allocations: 0 / 1.593 GB, free: 149.8 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002812/0.8904, allocations: 63.83 kB / 1.593 GB, free: 149.8 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.428e-05/0.8904, allocations: 11.98 kB / 1.593 GB, free: 149.8 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.299e-05/0.8905, allocations: 29.7 kB / 1.593 GB, free: 149.7 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.000117/0.8906, allocations: 49.94 kB / 1.593 GB, free: 149.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.8906, allocations: 0 / 1.593 GB, free: 149.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.473e-06/0.8906, allocations: 0 / 1.593 GB, free: 149.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.8906, allocations: 0 / 1.593 GB, free: 149.7 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003244/0.891, allocations: 347.3 kB / 1.593 GB, free: 149.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.891, allocations: 11.62 kB / 1.593 GB, free: 149.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002261/0.8913, allocations: 19.86 kB / 1.593 GB, free: 149.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.472e-05/0.8914, allocations: 167 kB / 1.593 GB, free: 149.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.8914, allocations: 4 kB / 1.593 GB, free: 149.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.762e-05/0.8914, allocations: 4 kB / 1.593 GB, free: 149.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.8916, allocations: 49.69 kB / 1.593 GB, free: 149 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.8916, allocations: 0 / 1.593 GB, free: 149 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.8916, allocations: 0 / 1.593 GB, free: 149 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.8916, allocations: 7.953 kB / 1.593 GB, free: 149 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.875e-05/0.8917, allocations: 19.92 kB / 1.593 GB, free: 149 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001506/0.8919, allocations: 165.7 kB / 1.594 GB, free: 148.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 9.572e-05/0.892, allocations: 50.56 kB / 1.594 GB, free: 148.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.423e-05/0.892, allocations: 12.86 kB / 1.594 GB, free: 148.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.052e-05/0.892, allocations: 4 kB / 1.594 GB, free: 148.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.8921, allocations: 34.56 kB / 1.594 GB, free: 148.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.8921, allocations: 0 / 1.594 GB, free: 148.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.0008095/0.8929, allocations: 386.1 kB / 1.594 GB, free: 148.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.96e-05/0.8929, allocations: 51.41 kB / 1.594 GB, free: 148.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.942e-05/0.893, allocations: 93.86 kB / 1.594 GB, free: 148.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.893, allocations: 29.7 kB / 1.594 GB, free: 148 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 1.702e-05/0.893, allocations: 80.14 kB / 1.594 GB, free: 147.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.877e-05/0.8931, allocations: 35.45 kB / 1.594 GB, free: 147.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.983e-06/0.8931, allocations: 4 kB / 1.594 GB, free: 147.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.247e-05/0.8931, allocations: 322.8 kB / 1.595 GB, free: 147.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.606e-05/0.8932, allocations: 16.12 kB / 1.595 GB, free: 147.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.122e-05/0.8933, allocations: 37.7 kB / 1.595 GB, free: 147.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.413e-05/0.8933, allocations: 24.53 kB / 1.595 GB, free: 147.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.8934, allocations: 0 / 1.595 GB, free: 147.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001733/0.8935, allocations: 105.5 kB / 1.595 GB, free: 147.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.8936, allocations: 4 kB / 1.595 GB, free: 147.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.8936, allocations: 0 / 1.595 GB, free: 147.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.8936, allocations: 1.688 kB / 1.595 GB, free: 147.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001737/0.8938, allocations: 20 kB / 1.595 GB, free: 147.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.8938, allocations: 15.88 kB / 1.595 GB, free: 147.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.099e-05/0.8939, allocations: 4 kB / 1.595 GB, free: 147.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.8939, allocations: 4 kB / 1.595 GB, free: 147.3 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 14 * 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 6.643e-05/0.894, allocations: 117.8 kB / 1.595 GB, free: 147.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.675e-05/0.894, allocations: 4 kB / 1.595 GB, free: 147.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.724e-05/0.894, allocations: 7.969 kB / 1.595 GB, free: 147.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.8941, allocations: 0 / 1.595 GB, free: 147.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.8941, allocations: 0 / 1.595 GB, free: 147.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.075e-05/0.8941, allocations: 92.95 kB / 1.595 GB, free: 147.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.8942, allocations: 8 kB / 1.595 GB, free: 147.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.8943, allocations: 4 kB / 1.595 GB, free: 147.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.029e-05/0.8943, allocations: 7.984 kB / 1.595 GB, free: 147.1 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00032/0.8947, allocations: 176.9 kB / 1.595 GB, free: 146.9 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002807/0.895, allocations: 291.6 kB / 1.596 GB, free: 146.6 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.187e-05/0.895, allocations: 26.33 kB / 1.596 GB, free: 146.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 1.678e-05/0.8951, allocations: 75.28 kB / 1.596 GB, free: 146.5 MB / 0.8542 GB Notification: Performance of Backend: time 6.82e-07/0.8951, allocations: 4 kB / 1.596 GB, free: 146.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005061/0.8956, allocations: 146.3 kB / 1.596 GB, free: 146.3 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0006982/0.8963, allocations: 0.81 MB / 1.597 GB, free: 145.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.004375/0.9007, allocations: 1.149 MB / 1.598 GB, free: 144.4 MB / 0.8542 GB