Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8226/0.8226, allocations: 143.8 MB / 159.1 MB, free: 6.531 MB / 122.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 175.3 kB / 192 MB, free: 6.742 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 225.7 MB / 450.4 MB, free: 4.98 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008841/0.0008841, allocations: 107.5 kB / 0.5211 GB, free: 1.645 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001606/0.001606, allocations: 286.4 kB / 0.6025 GB, free: 49.29 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003978/0.0003978, allocations: 11.62 kB / 0.6948 GB, free: 59.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.169, allocations: 82.46 MB / 0.7753 GB, free: 14.36 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001572/0.1706, allocations: 0.9966 MB / 0.7763 GB, free: 13.35 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.532/0.7026, allocations: 135.5 MB / 0.9086 GB, free: 13.73 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.814e-05/0.7027, allocations: 4 kB / 0.9086 GB, free: 13.73 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.819e-05/0.7027, allocations: 2.484 kB / 0.9086 GB, free: 13.73 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 6.461e-05/0.7028, allocations: 1.375 kB / 0.9086 GB, free: 13.73 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004002/0.7032, allocations: 94.47 kB / 0.9087 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 7.342e-05/0.7033, allocations: 29.69 kB / 0.9088 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.827e-05/0.7033, allocations: 6.016 kB / 0.9088 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.451e-05/0.7034, allocations: 11.94 kB / 0.9088 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.132e-05/0.7034, allocations: 16.83 kB / 0.9088 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.7035, allocations: 3.312 kB / 0.9088 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002636/0.7037, allocations: 80.23 kB / 0.9089 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.635e-05/0.7038, allocations: 10.62 kB / 0.9089 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 5.699e-05/0.7038, allocations: 40.17 kB / 0.9089 GB, free: 13.65 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001568/0.704, allocations: 60.61 kB / 0.909 GB, free: 13.64 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.704, allocations: 3.312 kB / 0.909 GB, free: 13.64 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.614e-06/0.704, allocations: 0 / 0.909 GB, free: 13.64 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.704, allocations: 0 / 0.909 GB, free: 13.64 MB / 0.5573 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.0003869/0.7044, allocations: 340 kB / 0.9093 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.7045, allocations: 14.31 kB / 0.9093 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001966/0.7047, allocations: 14.89 kB / 0.9093 GB, free: 13.28 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.7048, allocations: 168 kB / 0.9095 GB, free: 13.08 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.7048, allocations: 7.438 kB / 0.9095 GB, free: 13.08 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.741e-05/0.7048, allocations: 3.375 kB / 0.9095 GB, free: 13.08 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.705, allocations: 55.23 kB / 0.9096 GB, free: 13.05 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.705, allocations: 0 / 0.9096 GB, free: 13.05 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.705, allocations: 7.438 kB / 0.9096 GB, free: 13.04 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.705, allocations: 0 / 0.9096 GB, free: 13.04 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.538e-05/0.7051, allocations: 22.06 kB / 0.9096 GB, free: 13.04 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00017/0.7052, allocations: 159.3 kB / 0.9097 GB, free: 12.85 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 9.2e-05/0.7053, allocations: 52.16 kB / 0.9098 GB, free: 12.82 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.005e-05/0.7054, allocations: 19.08 kB / 0.9098 GB, free: 12.82 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.065e-05/0.7054, allocations: 0 / 0.9098 GB, free: 12.82 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.7054, allocations: 37.28 kB / 0.9098 GB, free: 12.77 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=7): time 7.71e-07/0.7054, allocations: 4 kB / 0.9098 GB, free: 12.77 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11): time 0.0007833/0.7062, allocations: 368.5 kB / 0.9102 GB, free: 12.51 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.7063, allocations: 52.75 kB / 0.9102 GB, free: 12.45 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.737e-05/0.7064, allocations: 91.23 kB / 0.9103 GB, free: 12.35 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.7064, allocations: 30.42 kB / 0.9104 GB, free: 12.32 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.906e-05/0.7065, allocations: 82.67 kB / 0.9104 GB, free: 12.24 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.945e-05/0.7065, allocations: 41 kB / 0.9105 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.754e-06/0.7065, allocations: 9.031 kB / 0.9105 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.7067, allocations: 321.1 kB / 0.9108 GB, free: 11.89 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.611e-05/0.7067, allocations: 19.95 kB / 0.9108 GB, free: 11.89 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.591e-05/0.7068, allocations: 33.19 kB / 0.9108 GB, free: 11.88 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.253e-05/0.7069, allocations: 62.38 kB / 0.9109 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.7069, allocations: 0 / 0.9109 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001352/0.707, allocations: 98.69 kB / 0.911 GB, free: 11.81 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.707, allocations: 9.5 kB / 0.911 GB, free: 11.81 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.707, allocations: 1.25 kB / 0.911 GB, free: 11.81 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.7071, allocations: 1.438 kB / 0.911 GB, free: 11.81 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.7072, allocations: 21.81 kB / 0.911 GB, free: 11.81 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.7072, allocations: 0 / 0.911 GB, free: 11.81 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.169e-05/0.7072, allocations: 3.938 kB / 0.911 GB, free: 11.81 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.727e-06/0.7072, allocations: 3.469 kB / 0.911 GB, free: 11.81 MB / 0.5573 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001039/0.7074, allocations: 121.5 kB / 0.9112 GB, free: 11.69 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.37e-05/0.7074, allocations: 9.641 kB / 0.9112 GB, free: 11.68 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.676e-05/0.7074, allocations: 10.84 kB / 0.9112 GB, free: 11.68 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.7074, allocations: 3.469 kB / 0.9112 GB, free: 11.68 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.7074, allocations: 0 / 0.9112 GB, free: 11.68 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.7074, allocations: 0 / 0.9112 GB, free: 11.68 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001443/0.7076, allocations: 177.5 kB / 0.9113 GB, free: 11.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.7076, allocations: 0 / 0.9113 GB, free: 11.48 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/0.7077, allocations: 19.94 kB / 0.9114 GB, free: 11.48 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.7077, allocations: 3.781 kB / 0.9114 GB, free: 11.48 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.7077, allocations: 1.531 kB / 0.9114 GB, free: 11.48 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.7078, allocations: 0 / 0.9114 GB, free: 11.48 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.7078, allocations: 4 kB / 0.9114 GB, free: 11.48 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000201/0.708, allocations: 143.9 kB / 0.9115 GB, free: 11.41 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.981e-05/0.708, allocations: 79.59 kB / 0.9116 GB, free: 11.31 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.7081, allocations: 4.656 kB / 0.9116 GB, free: 11.31 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.182e-05/0.7082, allocations: 6.969 kB / 0.9116 GB, free: 11.31 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.699e-05/0.7082, allocations: 10.08 kB / 0.9116 GB, free: 11.31 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.573e-06/0.7082, allocations: 0 / 0.9116 GB, free: 11.31 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 4.254e-05/0.7082, allocations: 84.56 kB / 0.9117 GB, free: 11.23 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7083, allocations: 0 / 0.9117 GB, free: 11.23 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001906/0.7084, allocations: 13.09 kB / 0.9117 GB, free: 11.23 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * 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 (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.000114/0.7086, allocations: 111.3 kB / 0.9118 GB, free: 11.14 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001332/0.7087, allocations: 53.39 kB / 0.9119 GB, free: 11.13 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.7087, allocations: 3.469 kB / 0.9119 GB, free: 11.13 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.706e-05/0.7088, allocations: 28.67 kB / 0.9119 GB, free: 11.13 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/0.709, allocations: 11.78 kB / 0.9119 GB, free: 11.12 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006368/0.7096, allocations: 392.5 kB / 0.9123 GB, free: 10.84 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.7099, allocations: 0.6852 MB / 0.9129 GB, free: 10.15 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 7.054e-05/0.71, allocations: 10.59 kB / 0.913 GB, free: 10.14 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.14e-05/0.71, allocations: 15.41 kB / 0.913 GB, free: 10.14 MB / 0.5573 GB Notification: Performance of SimCode: time 1.262e-06/0.71, allocations: 0 / 0.913 GB, free: 10.14 MB / 0.5573 GB Notification: Performance of Templates: time 0.002717/0.7128, allocations: 0.6156 MB / 0.9136 GB, free: 10.07 MB / 0.5573 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)