Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002551/0.002555, allocations: 359.3 kB / 16.59 MB, free: 5.562 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.572/1.572, allocations: 165.8 MB / 183.1 MB, free: 5.516 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.965/3.965, allocations: 410.8 MB / 0.6001 GB, free: 15.25 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002269/0.002269, allocations: 190.4 kB / 0.6668 GB, free: 6.965 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004588/0.000459, allocations: 16 kB / 0.7429 GB, free: 8.984 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3916/0.3921, allocations: 67.43 MB / 0.8087 GB, free: 28.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001322/0.3934, allocations: 0.9834 MB / 0.8097 GB, free: 27.82 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.6407/1.034, allocations: 133.3 MB / 0.9399 GB, free: 1.789 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.233e-05/1.034, allocations: 2.469 kB / 0.9399 GB, free: 1.789 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 4.966e-05/1.034, allocations: 0 / 0.9399 GB, free: 1.789 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 5.476e-05/1.034, allocations: 6.266 kB / 0.9399 GB, free: 1.789 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004187/1.035, allocations: 80.98 kB / 0.94 GB, free: 1.785 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 7.328e-05/1.035, allocations: 28.88 kB / 0.94 GB, free: 1.785 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.409e-05/1.035, allocations: 8.25 kB / 0.94 GB, free: 1.781 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.693e-05/1.035, allocations: 15 kB / 0.9401 GB, free: 1.781 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.755e-05/1.035, allocations: 17.81 kB / 0.9401 GB, free: 1.781 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/1.035, allocations: 1.656 kB / 0.9401 GB, free: 1.781 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000326/1.035, allocations: 71.61 kB / 0.9402 GB, free: 1.781 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 1.527e-05/1.035, allocations: 6.188 kB / 0.9402 GB, free: 1.781 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 3.481e-05/1.036, allocations: 30.89 kB / 0.9402 GB, free: 1.75 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001415/1.036, allocations: 48.3 kB / 0.9402 GB, free: 1.746 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/1.036, allocations: 1.828 kB / 0.9402 GB, free: 1.746 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.803e-06/1.036, allocations: 0 / 0.9402 GB, free: 1.746 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.096e-05/1.036, allocations: 4 kB / 0.9402 GB, free: 1.742 MB / 474.7 MB 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.0004503/1.036, allocations: 342.1 kB / 0.9406 GB, free: 1.383 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/1.036, allocations: 9.031 kB / 0.9406 GB, free: 1.383 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002332/1.036, allocations: 10.52 kB / 0.9406 GB, free: 1.383 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/1.037, allocations: 167.1 kB / 0.9407 GB, free: 1.184 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/1.037, allocations: 1.625 kB / 0.9407 GB, free: 1.184 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.169e-05/1.037, allocations: 5.625 kB / 0.9407 GB, free: 1.184 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/1.037, allocations: 58.12 kB / 0.9408 GB, free: 1.145 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.138e-06/1.037, allocations: 0.875 kB / 0.9408 GB, free: 1.145 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/1.037, allocations: 7.875 kB / 0.9408 GB, free: 1.141 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/1.037, allocations: 2.312 kB / 0.9408 GB, free: 1.141 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.802e-05/1.037, allocations: 16.27 kB / 0.9408 GB, free: 1.141 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002161/1.037, allocations: 164 kB / 0.941 GB, free: 0.9531 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/1.037, allocations: 46.28 kB / 0.941 GB, free: 0.9297 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.944e-05/1.037, allocations: 15.48 kB / 0.941 GB, free: 0.9219 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/1.037, allocations: 5.844 kB / 0.9411 GB, free: 0.918 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.728e-05/1.038, allocations: 44.36 kB / 0.9411 GB, free: 0.875 MB / 474.7 MB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/1.038, allocations: 0 / 0.9411 GB, free: 0.875 MB / 474.7 MB Notification: Performance of matching and sorting (n=11): time 0.001047/1.039, allocations: 371.9 kB / 0.9414 GB, free: 16.62 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/1.039, allocations: 53.25 kB / 0.9415 GB, free: 16.55 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.221e-05/1.039, allocations: 101.7 kB / 0.9416 GB, free: 16.45 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/1.039, allocations: 26.73 kB / 0.9416 GB, free: 16.42 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.16e-05/1.039, allocations: 80.14 kB / 0.9417 GB, free: 16.34 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.196e-05/1.039, allocations: 40.58 kB / 0.9417 GB, free: 16.32 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.722e-06/1.039, allocations: 1 kB / 0.9417 GB, free: 16.32 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001382/1.039, allocations: 317.2 kB / 0.942 GB, free: 16 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.934e-05/1.039, allocations: 18.16 kB / 0.9421 GB, free: 16 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.611e-05/1.039, allocations: 36.31 kB / 0.9421 GB, free: 15.99 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.281e-05/1.039, allocations: 27.59 kB / 0.9421 GB, free: 15.98 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/1.039, allocations: 0 / 0.9421 GB, free: 15.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002112/1.039, allocations: 103.1 kB / 0.9422 GB, free: 15.95 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/1.04, allocations: 5.5 kB / 0.9422 GB, free: 15.95 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/1.04, allocations: 0 / 0.9422 GB, free: 15.95 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/1.04, allocations: 2.812 kB / 0.9422 GB, free: 15.95 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000195/1.04, allocations: 22.03 kB / 0.9422 GB, free: 15.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/1.04, allocations: 0.875 kB / 0.9422 GB, free: 15.95 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.275e-05/1.04, allocations: 5.016 kB / 0.9423 GB, free: 15.95 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/1.04, allocations: 3.469 kB / 0.9423 GB, free: 15.95 MB / 490.7 MB 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 0.000101/1.04, allocations: 119.2 kB / 0.9424 GB, free: 15.83 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.085e-05/1.04, allocations: 6.172 kB / 0.9424 GB, free: 15.82 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.262e-05/1.04, allocations: 12.47 kB / 0.9424 GB, free: 15.82 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/1.04, allocations: 0.75 kB / 0.9424 GB, free: 15.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/1.04, allocations: 0 / 0.9424 GB, free: 15.82 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.168e-05/1.04, allocations: 88.78 kB / 0.9425 GB, free: 15.73 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/1.04, allocations: 5.844 kB / 0.9425 GB, free: 15.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/1.04, allocations: 2.578 kB / 0.9425 GB, free: 15.73 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.124e-05/1.04, allocations: 10.11 kB / 0.9425 GB, free: 15.72 MB / 490.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003911/1.041, allocations: 171.3 kB / 0.9427 GB, free: 15.62 MB / 490.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003772/1.041, allocations: 294.3 kB / 0.9429 GB, free: 15.4 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.505e-05/1.041, allocations: 26.91 kB / 0.943 GB, free: 15.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.558e-05/1.041, allocations: 81.91 kB / 0.943 GB, free: 15.32 MB / 490.7 MB Notification: Performance of Backend: time 6.81e-07/1.041, allocations: 3.938 kB / 0.943 GB, free: 15.32 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005839/1.042, allocations: 143.7 kB / 0.9432 GB, free: 15.26 MB / 490.7 MB Notification: Performance of SimCode: time 0.0009359/1.043, allocations: 0.8219 MB / 0.944 GB, free: 14.5 MB / 490.7 MB Notification: Performance of Templates: time 0.004743/1.048, allocations: 1.128 MB / 0.9451 GB, free: 14.35 MB / 490.7 MB